Transmission method and apparatus

ABSTRACT

Embodiments of the present invention relate to the field of communications methods and technologies, and in particular, to a transmission method and apparatus. The transmission method includes: generating, by a first device, a sequence based on one or more transmission parameters, where the one or more transmission parameters include at least one of the following: a time domain resource type, transmission waveform indication information, subcarrier spacing indication information, device type information, service type indication information, multiple-input multiple-output MIMO parameter information, duplex mode indication information, control channel format indication information, and transmission carrier indication information; generating to-be-transmitted information by using the sequence; and sending the to-be-transmitted information. According to the transmission method and apparatus in the embodiments of the present invention, a new transmission error check mechanism is provided.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No.PCT/CN2018/073779, filed on Jan. 23 2018, which claims priority toChinese Patent Application No. 201710054817.0, filed on Jan. 24, 2017.The disclosures of the aforementioned applications are herebyincorporated by reference as if reproduced in their entireties.

TECHNICAL FIELD

Embodiments of the present invention relate to the field ofcommunications methods and technologies, and in particular, to atransmission method and apparatus.

BACKGROUND

Data transmission reliability needs to be ensured in a signaltransmission process. If errors always occur on data transmitted in acommunications system, system performance or operability is very poor.However, in an actual communications system, for example, in a wirelesscommunications system, errors frequently occur during data transmissiondue to channel randomicity and interference uncertainty. In particular,when an error occurs at a specific time of data transmission, errors maycontinuously occur on subsequent data. To enable a communications systemto obtain stable and reliable transmission performance, when thecommunications system is designed, how to improve data transmissionreliability can be considered from a plurality of aspects and aplurality of perspectives, to randomize interference at each time oftransmission as much as possible. In particular, some key parameterscannot be erroneous when transmission is performed in the system. Oncethe key parameters are erroneous, unrecoverable errors occur during allsubsequent demodulation.

For a 5G communications system currently studied by the 3GPP, the entire5G system is more flexible and complex than an LTE system. In atransmission process, a large quantity of parameters used for datatransmission need to be transmitted and detected between a transmitterand a receiver. Once some of the parameters are erroneous in acommunication process, uncorrectable errors occur in an entiresubsequent transmission process. However, a conventional channelcoding/decoding mechanism can check whether an information bit iscorrect in a data transmission process, but cannot check a transmissionparameter. Therefore, it is particularly important to further support amechanism for flexibly checking a large quantity of transmissionparameters in time.

SUMMARY

Embodiments of the present invention provide a transmission method andapparatus, to provide a new transmission error check mechanism.

According to a first aspect, an embodiment of the present inventionprovides a transmission method. The method includes: generating, by afirst device, a sequence based on one or more transmission parameters,where the one or more transmission parameters include at least one ofthe following: a time domain resource type, transmission waveformindication information, subcarrier spacing indication information,device type information, service type indication information,multiple-input multiple-output (MIMO) parameter information, duplex modeindication information, control channel format indication information,and transmission carrier indication information; generating, by thefirst device, to-be-transmitted information by using the sequence; andsending, by the first device, the to-be-transmitted information.

In the solution of this embodiment of the present invention, thegenerating, by the first device, to-be-transmitted information by usingthe sequence includes: scrambling, by the first device,to-be-transmitted data by using the sequence, where theto-be-transmitted information is scrambled transmitted data; orgenerating, by the first device, a reference signal by using thesequence, where the to-be-transmitted information is a scramblingreference signal.

In the implementation of this embodiment of the present invention, theone or more transmission parameters are introduced into the sequence,and the to-be-transmitted information is generated by using thesequence, so that a receiver determines, based on whether the receivedinformation is correct, whether the received transmission parameters arecorrect. Therefore, the one or more transmission parameters can bechecked.

Further, in the solution of this embodiment of the present invention,the sequence is generated by using the one or more transmissionparameters, to scramble the data or generate the reference signal. Afterreceiving the reference signal or the data scrambled by using thesequence, the receiver first performs descrambling. If a transmissionparameter is erroneously estimated in a communication process,regardless of a value of an SNR of the current receiver, the receiverdetermines that a received data packet is erroneous, and the receiverchecks in time whether a previously received transmission parameter iscorrect, instead of keeping trying or performing retransmission, therebyreducing unnecessary retransmission and power consumption, and reducingaccumulation or propagation of data transmission errors.

In a possible embodiment, the generating, by a first device, a sequencebased on the one or more transmission parameters includes: determining,by the first device, an initial value of the sequence and/or an initiallocation of the sequence based on at least one of the one or moretransmission parameters, and generating the sequence based on theinitial value of the sequence and/or the initial location of thesequence.

In the implementation of this embodiment of the present invention, theone or more transmission parameters are introduced into the initialvalue and/or the initial location of the sequence, and the receivergenerates a sequence in the same manner, and verifies, by using thegenerated sequence, whether the transmitted information is correct, tocheck the one or more transmission parameters.

Further, in the solution of this embodiment of the present invention,the one or more transmission parameters are introduced into the initialvalue and/or the initial location of the sequence, so that moretransmission parameters can be verified without an increase in asequence length.

In a possible embodiment, the one or more transmission parametersfurther include a time domain resource index and/or a cell identifier.

In a possible embodiment, the time domain resource index is determinedin any one of the following manners: determining the time domainresource index based on a positive integer indicated by signaling;determining the time domain resource index based on a system messageperiod or a synchronization signal transmission interval; determiningthe time domain resource index based on a subcarrier spacing; anddetermining the time domain resource index based on a quantity of slotsin a subcarrier spacing used within predefined duration.

In the implementation of this embodiment of the present invention, thefirst device may determine the initial value and/or the initial locationof the sequence based on the time resource domain index, and maydetermine a new time domain resource index by redividing a time domainresource and renumbering time domain resources obtained after theredivision. Therefore, the sequence can be determined by using the newtime domain resource index, to resolve a problem in generatingscrambling sequences for slot parameters in different subcarrierspacings within a time-frequency resource of a preset length without amodification to the sequence.

In a possible embodiment, the determining, by the first device, aninitial value of the sequence and/or an initial location of the sequencebased on at least one of the one or more transmission parametersincludes: generating, by the first device, the initial value of thesequence by using a first parameter in the one or more transmissionparameters, and generating the initial location of the sequence by usinga second parameter in the one or more transmission parameters, where thefirst parameter is different from the second parameter; or respectivelydetermining the initial value of the sequence and the initial locationof the sequence based on different bits of a same transmissionparameter.

In the solution of this embodiment of the present invention, thetransmission parameter used to determine the initial value of thesequence may be different from or the same as the transmission parameterused to determine the initial location of the sequence. When the initialvalue and the initial location of the sequence are determined by using asame transmission parameter, the initial value and the initial locationof the sequence may be respectively determined by using different bitsof the same transmission parameter. For example, all bits of the sametransmission parameter are divided into two parts: One part is used togenerate the initial value of the sequence, and the other part is usedto determine the initial location of the sequence. Therefore, thetransmission parameter can be verified with reference to the initialvalue of the sequence and the initial location of the sequence.

In a possible embodiment, the generating, by the first device,to-be-transmitted information by using the sequence includes:determining, by the first device based on a service type parameter ofto-be-transmitted data and/or a capability type of a receiving device,the sequence used to generate the to-be-transmitted information; andgenerating, by the first device, the to-be-transmitted information byusing the determined sequence.

In the solution of this embodiment of the present invention, a pluralityof or a plurality of types of transmission parameters may be predefined,and each or each type of transmission parameter is corresponding to adifferent service type and/or a different capability type of thereceiving device. When generating the to-be-transmitted information, thefirst device determines the to-be-used sequence based on the servicetype parameter of the to-be-transmitted data and/or the capability typeof the receiving device, and generates the to-be-transmitted informationby using the determined sequence.

In a possible embodiment, the generating, by a first device, a sequencebased on one or more transmission parameters includes: generating, bythe first device, a plurality of subsequences based on the one or moretransmission parameters, where each subsequence is determined based onall or some of the one or more transmission parameters; and generating,by the first device, the sequence based on the plurality ofsubsequences, where a length of the sequence is a sum of lengths of theplurality of subsequences.

In the solution of this embodiment of the present invention, thesequence used to generate the to-be-transmitted information is generatedbased on the plurality of subsequences, and each subsequence isdetermined based on one or more of the foregoing transmissionparameters, so that more transmission parameters and/or a longertransmission parameter can be introduced into a sequence.

In a possible embodiment, the generating, by a first device, a sequencebased on one or more transmission parameters includes: generating, bythe first device, a plurality of subsequences based on the one or moretransmission parameters, where each subsequence is determined based onall or some of the one or more transmission parameters; andcorrespondingly the generating, by the first device, to-be-transmittedinformation by using the sequence includes: scrambling, by the firstdevice, the to-be-transmitted data by using the plurality ofsubsequences, and/or generating a reference signal by using theplurality of subsequences; or the plurality of subsequences arerespectively used on different time domain resources.

In the solution of this embodiment of the present invention, the firstdevice generates the plurality of subsequences based on the one or moretransmission parameters, and the first device can scramble the data byusing the plurality of subsequences, and/or generate the referencesignal by using the plurality of subsequences.

In a possible embodiment, the first device further scrambles data incontrol information (for example, information in a physical broadcastchannel PBCH) sent together with a synchronization signal, for example,scrambles, by using a parameter related to a slot or symbol number, thecontrol information sent together with the synchronization signal.

According to a second aspect, an embodiment of the present inventionprovides a transmission method. The method includes: determining, by afirst device based on one or more transmission parameters, an initiallocation used to generate a sequence, where the one or more transmissionparameters are not constants; generating, by the first device,to-be-transmitted information by using the sequence; and sending, by thefirst device, the to-be-transmitted information.

In the implementation of this embodiment of the present invention, theone or more transmission parameters are introduced into the initiallocation of the sequence, and the to-be-transmitted information isgenerated by using the sequence, so that more transmission parametersand/or a longer transmission parameter can be introduced into thesequence without a modification to a sequence length. A receiverdetermines, based on whether the received information is correct,whether the received transmission parameters are correct, so that theone or more transmission parameters can be checked.

In a possible embodiment, the one or more transmission parametersinclude at least one of the following: a time domain resource index, atime domain resource type, transmission waveform indication information,subcarrier spacing indication information, device type information,service type indication information, MIMO parameter information, duplexmode indication information, control channel format indicationinformation, a cell identifier, and transmission carrier indicationinformation.

In a possible embodiment, the method further includes: determining, bythe first device, an initial value of the sequence based on the one ormore transmission parameters.

In the implementation of this embodiment of the present invention, theone or more transmission parameters are introduced into the initialvalue and the initial location of the sequence, and the receivergenerates a sequence in the same manner, and verifies, by using thegenerated sequence, whether the transmitted information is correct, tocheck the one or more transmission parameters.

Further, in the solution of this embodiment of the present invention,the one or more transmission parameters are introduced into the initialvalue and the initial location of the sequence, so that moretransmission parameters can be verified.

In a possible embodiment, a transmission parameter used to determine theinitial value of the sequence is different from a transmission parameterused to determine the initial location of the sequence; or the initialvalue of the sequence and the initial location of the sequence arerespectively determined based on different bits of a same transmissionparameter.

In the solution of this embodiment of the present invention, thetransmission parameter used to determine the initial value of thesequence may be different from or the same as the transmission parameterused to determine the initial location of the sequence. When the initialvalue and the initial location of the sequence are determined by using asame transmission parameter, the initial value and the initial locationof the sequence may be respectively determined by using different bitsof the same transmission parameter. For example, all bits of the sametransmission parameter are divided into two parts: One part is used togenerate the initial value of the sequence, and the other part is usedto determine the initial location of the sequence. Therefore, thetransmission parameter can be verified with reference to the initialvalue of the sequence and the initial location of the sequence.

In a possible embodiment, the time domain resource index is determinedbased on a parameter M, where the parameter M is determined in any oneof the following manners: the parameter M is a predefined positiveinteger; the parameter M is a positive integer that is indicated bysignaling; the parameter M is determined based on a system messageperiod or a synchronization signal transmission interval; the parameterM is determined based on a subcarrier spacing; or the parameter M isbased on a quantity of slots in a subcarrier spacing used withinpredefined duration.

In the implementation of this embodiment of the present invention, thefirst device may determine the initial value and/or the initial locationof the sequence based on the time domain index, and may determine a newtime domain resource index by redividing a time domain resource andrenumbering time domain resources obtained after the redivision.Therefore, the sequence can be determined by using the new time domainresource index, to resolve a problem in generating scrambling sequencesfor slot parameters in different subcarrier spacings within atime-frequency resource of a preset length without a modification to thesequence.

In a possible embodiment, the sequence is determined based on aplurality of subsequences, where each subsequence is determined based onall or some of the one or more transmission parameters, and a length ofthe sequence is a sum of lengths of the plurality of subsequences.

In the solution of this embodiment of the present invention, thesequence used to generate the to-be-transmitted information is generatedbased on the plurality of subsequences, and each subsequence isdetermined based on one or more of the foregoing transmissionparameters, so that more transmission parameters and/or a longertransmission parameter can be introduced into a sequence.

In a possible embodiment, the sequence includes a plurality ofsubsequences, where each subsequence is determined based on all or someof the one or more transmission parameters; and correspondingly thegenerating, by the first device, to-be-transmitted information by usingthe sequence includes: scrambling, by the first device,to-be-transmitted data by using the plurality of subsequences, and/orgenerating a reference signal by using the plurality of subsequences; orthe plurality of subsequences are respectively used on different timedomain resources.

In the solution of this embodiment of the present invention, the firstdevice generates the plurality of subsequences based on the one or moretransmission parameters, and the first device can scramble the data byusing the plurality of subsequences, and/or generate the referencesignal by using the plurality of subsequences.

In a possible embodiment, the generating, by the first device,to-be-transmitted information by using the sequence includes:determining, by the first device based on a service type parameter ofto-be-transmitted data and/or a capability type of a receiving device,the sequence used to generate the to-be-transmitted information; andgenerating, by the first device, the to-be-transmitted information byusing the determined sequence.

In the solution of this embodiment of the present invention, a pluralityof or a plurality of types of transmission parameters may be predefined,and each or each type of transmission parameter is corresponding to adifferent service type and/or a different capability type of thereceiving device. When generating the to-be-transmitted information, thefirst device determines the to-be-used sequence based on the servicetype parameter of the to-be-transmitted data and/or the capability typeof the receiving device, and generates the to-be-transmitted informationby using the determined sequence.

According to a third aspect, an embodiment of the present inventionprovides a transmission method. The method includes: receiving, by asecond device, information transmitted by a first device; anddemodulating, by the second device, the received information by using asequence, where the sequence is determined based on one or moretransmission parameters, and the one or more transmission parametersinclude at least one of the following: a time domain resource type,transmission waveform indication information, subcarrier spacingindication information, device type information, service type indicationinformation, multiple-input multiple-output MIMO parameter information,duplex mode indication information, control channel format indicationinformation, and transmission carrier indication information.

In the implementation of this embodiment of the present invention, theone or more transmission parameters are introduced into the sequence,and the to-be-transmitted information is generated by using thesequence, so that a receiver (corresponding to the second device)determines, based on whether the received information is correct,whether the received transmission parameters are correct. Therefore, theone or more transmission parameters can be checked.

Further, in the solution of this embodiment of the present invention,the sequence is generated by using the one or more transmissionparameters, to scramble data or generate a reference signal. Afterreceiving the reference signal or the data scrambled by using thesequence, the receiver first performs descrambling. If a transmissionparameter is erroneously estimated in a communication process,regardless of a value of an SNR of the current receiver, the receiverdetermines that a received data packet is erroneous, and the receiverchecks in time whether a previously received transmission parameter iscorrect, instead of keeping trying or performing retransmission, therebyreducing unnecessary retransmission and power consumption, and reducingaccumulation or propagation of data transmission errors.

In a possible embodiment, the method further includes: determining, bythe second device, an initial value of the sequence and/or an initiallocation of the sequence based on at least one of the one or moretransmission parameters, and generating the sequence based on theinitial value of the sequence and/or the initial location of thesequence.

In a possible embodiment, the one or more transmission parametersfurther include a time domain resource index and/or a cell identifier.

In a possible embodiment, the time domain resource index is determinedin any one of the following manners: determining the time domainresource index based on a positive integer indicated by signaling;determining the time domain resource index based on a system messageperiod or a synchronization signal transmission interval; determiningthe time domain resource index based on a subcarrier spacing; anddetermining the time domain resource index based on a quantity of slotsin a subcarrier spacing used within predefined duration.

In a possible embodiment, the determining, by the second device, aninitial value of the sequence and/or an initial location of the sequencebased on at least one of the one or more transmission parametersincludes: generating, by the second device, the initial value of thesequence by using a first parameter in the one or more transmissionparameters, and generating the initial location of the sequence by usinga second parameter in the one or more transmission parameters, where thefirst parameter is different from the second parameter; or respectivelydetermining the initial value of the sequence and the initial locationof the sequence based on different bits of a same transmissionparameter.

In a possible embodiment, the demodulating, by the second device, thereceived information by using a sequence includes: determining, by thesecond device based on a service type parameter of transmitted dataand/or a capability type of a receiving device, the sequence used todemodulate the received information; and demodulating, by the seconddevice, the received information by using the determined sequence.

In a possible embodiment, that the sequence is determined based on oneor more transmission parameters includes that the sequence is determinedbased on a plurality of subsequences, where each subsequence isdetermined based on all or some of the one or more transmissionparameters, and a length of the sequence is a sum of lengths of theplurality of subsequences.

In a possible embodiment, that the sequence is determined based on oneor more transmission parameters includes that the sequence includes aplurality of subsequences, where each subsequence is determined based onall or some of the one or more transmission parameters; andcorrespondingly the demodulating, by the second device, the receivedinformation by using a sequence includes: demodulating, by the seconddevice, the received information by using the plurality of subsequences;or the plurality of subsequences are respectively used on different timedomain resources.

According to a fourth aspect, an embodiment of the present inventionprovides a transmission method. The method includes: receiving, by asecond device, information transmitted by a first device; anddemodulating, by the second device, the received information by using asequence, where an initial location of the sequence is determined basedon one or more transmission parameters, and the one or more transmissionparameters are not a constants.

In the implementation of this embodiment of the present invention, theone or more transmission parameters are introduced into the initiallocation of the sequence, and the to-be-transmitted information isgenerated by using the sequence, so that more transmission parametersand/or a longer transmission parameter can be introduced into thesequence without a modification to a sequence length. A receiver(corresponding to the second device) determines, based on whether thereceived information is correct, whether the received transmissionparameters are correct, so that the one or more transmission parameterscan be checked.

In a possible embodiment, the one or more transmission parametersinclude at least one of the following: a time domain resource index, atime domain resource type, transmission waveform indication information,subcarrier spacing indication information, device type information,service type indication information, MIMO parameter information, duplexmode indication information, control channel format indicationinformation, a cell identifier, and transmission carrier indicationinformation.

In a possible embodiment, the initial location of the sequence isdetermined based on the one or more transmission parameters.

In a possible embodiment, a transmission parameter used to determine theinitial value of the sequence is different from a transmission parameterused to determine the initial location of the sequence; or the initialvalue of the sequence and the initial location of the sequence arerespectively determined based on different bits of a same transmissionparameter.

In a possible embodiment, the time domain resource index is determinedbased on a parameter M, where the parameter M is determined in any oneof the following manners: the parameter M is a predefined positiveinteger; the parameter M is indicated by signaling; the parameter M isdetermined based on a system message period or a synchronization signaltransmission interval; the parameter M is determined based on asubcarrier spacing; or the parameter M is determined based on a quantityof slots in a subcarrier spacing used within predefined duration.

In a possible embodiment, the sequence is determined based on aplurality of subsequences, where each subsequence is determined based onall or some of the one or more transmission parameters, and a length ofthe sequence is a sum of lengths of the plurality of subsequences.

In a possible embodiment, the sequence includes a plurality ofsubsequences, where each subsequence is determined based on all or someof the one or more transmission parameters; and correspondingly thedemodulating, by the second device, the received information by using asequence includes: demodulating, by the second device, the receivedinformation by using the plurality of subsequences; or the plurality ofsubsequences are respectively used on different time domain resources.

In a possible embodiment, the demodulating, by the second device, thereceived information by using a sequence includes: determining, by thesecond device based on a service type parameter of transmitted dataand/or a capability type of a receiving device, the sequence used todemodulate the received information; and demodulating the receivedinformation by using the determined sequence.

According to a fifth aspect, to implement the transmission method in thefirst aspect, an embodiment of the present invention provides atransmission apparatus. The transmission apparatus has a function ofimplementing actions of the first device in the transmission method. Thefunction may be implemented by hardware, or may be implemented byhardware by executing corresponding software. The hardware or thesoftware includes one or more modules corresponding to the function.

In a possible embodiment, the apparatus includes: a sequence generationmodule, configured to generate a sequence based on one or moretransmission parameters, where the one or more transmission parametersinclude at least one of the following: a time domain resource type,transmission waveform indication information, subcarrier spacingindication information, device type information, service type indicationinformation, multiple-input multiple-output MIMO parameter information,duplex mode indication information, control channel format indicationinformation, and transmission carrier indication information; a transmitinformation generation module, configured to generate to-be-transmittedinformation by using the sequence; and a sending module, configured tosend the to-be-transmitted information.

In the solution of this embodiment of the present invention, thesequence generation module, the transmit information generation module,and the sending module are further configured to perform possible stepsin the related embodiments in the embodiment in the first aspect. Forspecific content, refer to the embodiment in the first aspect.

In another possible embodiment, the apparatus includes a processor and atransceiver. The processor is configured to implement functions of thesequence generation module and the transmit information generationmodule, and the transceiver is configured to implement a function of thesending module.

According to a sixth aspect, to implement the transmission method in thesecond aspect, an embodiment of the present invention provides atransmission apparatus. The transmission apparatus has a function ofimplementing actions of the first device in the transmission method. Thefunction may be implemented by hardware, or may be implemented byhardware by executing corresponding software. The hardware or thesoftware includes one or more modules corresponding to the function.

In a possible embodiment, the transmission apparatus includes: a firstgeneration module, configured to determine, based on one or moretransmission parameters, an initial location used to generate asequence, where the one or more transmission parameters are notconstants; a second generation module, configured to generateto-be-transmitted information by using the sequence; and a sendingmodule, configured to send the to-be-transmitted information.

In the solution of this embodiment of the present invention, the firstgeneration module, the second generation module, and the sending moduleare further configured to perform possible steps in the relatedembodiments in the embodiment in the second aspect. For specificcontent, refer to the embodiment in the second aspect.

In another possible embodiment, the apparatus includes a processor and atransceiver. The processor is configured to implement functions of thefirst generation module and the second generation module, and thetransceiver is configured to implement a function of the sending module.

According to a seventh aspect, to implement the transmission method inthe third aspect, an embodiment of the present invention provides atransmission apparatus. The transmission apparatus has a function ofimplementing actions of the second device in the transmission method.The function may be implemented by hardware, or may be implemented byhardware by executing corresponding software. The hardware or thesoftware includes one or more modules corresponding to the function.

In a possible embodiment, the apparatus includes: a receiving module,configured to receive information transmitted by a first device; and ademodulation processing module, configured to demodulate the receivedinformation by using a sequence, where the sequence is determined basedon one or more transmission parameters, and the one or more transmissionparameters include at least one of the following: a time domain resourcetype, transmission waveform indication information, subcarrier spacingindication information, device type information, service type indicationinformation, multiple-input multiple-output MIMO parameter information,duplex mode indication information, control channel format indicationinformation, and transmission carrier indication information.

In the solution of this embodiment of the present invention, thereceiving module and the demodulation processing module are furtherconfigured to perform possible steps in the related embodiments in theembodiment in the third aspect. For specific content, refer to theembodiment in the third aspect.

In another possible embodiment, the apparatus includes a processor and atransceiver. The processor is configured to implement a function of thedemodulation processing module, and the transceiver is configured toimplement a function of the receiving module.

According to an eighth aspect, to implement the transmission method inthe fourth aspect, an embodiment of the present invention provides atransmission apparatus. The transmission apparatus has a function ofimplementing actions of the second device in the transmission method.The function may be implemented by hardware, or may be implemented byhardware by executing corresponding software. The hardware or thesoftware includes one or more modules corresponding to the function.

In a possible embodiment, the transmission apparatus includes: areceiving module, configured to receive information transmitted by afirst device; and a processing module, configured to demodulate thereceived information by using a sequence, where an initial location ofthe sequence is determined based on one or more transmission parameters,and the one or more transmission parameters are not constants.

In the solution of this embodiment of the present invention, thereceiving module and the processing module are further configured toperform possible steps in the related embodiments in the embodiment inthe fourth aspect. For specific content, refer to the embodiment in thefourth aspect.

In another possible embodiment, the apparatus includes a processor and atransceiver. The processor is configured to implement a function of theprocessing module, and the transceiver is configured to implement afunction of the receiving module.

According to a ninth aspect, an embodiment of the present inventionprovides a computer storage medium, configured to store computersoftware instructions used by the foregoing transmission apparatuses,and the computer storage medium includes programs used to perform thetransmission methods corresponding to the transmission apparatuses.

In the transmission solutions in the embodiments of the presentinvention, a new transmission error check mechanism is provided, so thata transmission parameter can be checked.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a schematic diagram of a possible application scenarioaccording to this application;

FIG. 2 is a schematic diagram of another possible application scenarioaccording to this application;

FIG. 3 is a flowchart of a transmission method according to anembodiment of this application;

FIG. 4 is a flowchart of a transmission method according to anotherembodiment of this application;

FIG. 5 is a schematic diagram of occupied bits of a scrambling sequencein the prior art;

FIG. 6 is a flowchart of a method for determining a sequence used in atransmission method according to an embodiment of this application;

FIG. 7 is a schematic diagram of re-division of time domain resourcesaccording to an embodiment of this application;

FIG. 8 is a schematic diagram of quantities of slots in differentsubcarrier spacings;

FIG. 9 is a schematic diagram of re-division and numbering time domainresources according to an embodiment of this application;

FIG. 10 is a schematic diagram of numbering a slot resource according toan embodiment of this application;

FIG. 11 is a schematic structural diagram of a transmission apparatusaccording to this application;

FIG. 12 is a schematic structural diagram of another transmissionapparatus according to this application;

FIG. 13 is a schematic structural diagram of still another transmissionapparatus according to this application;

FIG. 14 is a schematic structural diagram of yet another transmissionapparatus according to this application;

FIG. 15 is a schematic structural diagram of an access device accordingto this application; and

FIG. 16 is a schematic structural diagram of a terminal device accordingto this application.

DESCRIPTION OF EMBODIMENTS

FIG. 1 is a schematic diagram of a possible application scenarioaccording to this application. As shown in FIG. 1, terminal devices(such as UE 1 and UE 2) are connected to an access device (such as aneNB), and data communication between the terminal devices needsforwarding performed by the access device. A radio link on which theterminal device sends data to the access device is referred to as anuplink (uplink, UL), and a radio link on which the access device sendsdata to the terminal device is referred to as a downlink (downlink, DL).

FIG. 2 is a schematic diagram of another possible application scenarioaccording to this application. As shown in FIG. 2, the scenario includesa plurality of terminal devices, and data transmission and informationexchange are performed between the plurality of terminal devices (forexample, UE 1 and UE 2) by using a device-to-device (device-to-device,D2D) direct communication technology. In the scenario shown in FIG. 2, alink on which direct data communication is performed between theterminal devices is referred to as a direct link or a sidelink(sidelink, SL). During D2D communication, two devices that communicatewith each other may be any transmission nodes or terminal devices of asame type. This is not limited in the embodiments of the presentinvention.

The terminal device involved in the embodiments of the present inventionmay include various handheld devices, in-vehicle devices, wearabledevices, or computing devices with a wireless communication function, orother processing devices connected to a wireless modem, and include userequipment (user equipment, UE), a mobile station (mobile station, MS), aterminal (terminal), a terminal device (terminal device), and the likethat are in various forms. The access device involved in the presentinvention may be a base station. The base station is an apparatusdeployed in a radio access network to provide a wireless communicationfunction for UE. The base station may include a macro base station, amicro base station, a relay station, an access point, and the like thatare in various forms. A device with a function of a base station mayhave different names in systems that use different radio accesstechnologies. For example, the device with a function of a base stationis referred to as an evolved NodeB (evolved NodeB, eNB or eNodeB) in anLTE network, is referred to as a NodeB (NodeB) in a 3rd Generation 3Gnetwork, or is referred to as a next generation NodeB or a Gbit NodeB,gNB for short, in a 5G network. For ease of description, in thisapplication, the foregoing apparatuses that provide the wirelesscommunication function for the UE are collectively referred to as a basestation or a BS.

Based on the scenarios shown in FIG. 1 and FIG. 2, the embodiments ofthe present invention provide a transmission method. The transmissionmethod in the embodiments of the present invention may be applied to thecommunication scenario that is shown in FIG. 1 and in which forwardingperformed by the access device is needed, and may also be applied to thedirect communication scenario shown in FIG. 2. From another perspective,the transmission method in the embodiments of the present invention maybe applied to uplink communication processes in the scenarios shown inFIG. 1 and FIG. 2, and may also be applied to downlink communicationprocesses in the communication scenarios shown in FIG. 1 and FIG. 2. Forease of description, in a communication process, a device used as atransmit end is referred to as a first device, and a device used as areceive end is referred to as a second device.

In communication processes of systems shown in FIG. 1 and FIG. 2, toimprove an anti-interference capability of the systems, transmissioninformation is scrambled. For example, transmission data is scrambled byusing a sequence, or a reference signal is generated by using asequence. The transmission information is sent after the transmissioninformation is scrambled. In the prior art, a sequence used to scramblethe transmission information is a predefined known sequence, and acommunication method in the prior art lacks a transmission parametercheck mechanism. If a transmission parameter check procedure isindependently set, communication complexity is increased.

To check a transmission parameter, in the transmission method in, theembodiments of the present invention, a sequence used to scrambletransmission information is determined based on the transmissionparameter. After receiving the information, a receiver first generates acorresponding sequence based on the transmission parameter, and thenperforms descrambling or receiving detection by using the sequence. Ifthe transmission parameter is erroneously estimated in a communicationprocess, regardless of a value of a signal-to-noise ratio(signal-to-noise ratio, SNR) of the current receiver, the receiverdetermines that a received data packet is erroneous. When a received SNRis relatively high and a decoding error occurs, the receiver checks intime whether a received transmission parameter used to scramble data (ormodified to-be-transmitted information) is correct, instead of keepingtrying or performing retransmission, thereby reducing unnecessaryretransmission and power consumption, and reducing accumulation orpropagation of data transmission errors. Further, in the method in theembodiments of the present invention, a large quantity of transmissionparameters can be simultaneously checked, to improve system flexibilityand robustness.

In an implementation solution of the present invention, a sequence isgenerated in the following manner: determining an initial value of thesequence based on at least one transmission parameter; generating asequence c₁(n) based on the initial value of the sequence and acorresponding generator polynomial; determining an initial location ofthe sequence based on the at least one transmission parameter; andextracting a sequence with a length of to-be-scrambled data or ato-be-transmitted reference signal from the sequence c₁(n), where theextraction starts from the initial location of the sequence, in otherwords, obtaining a first sequence c(n) in the embodiments of the presentinvention. In the embodiments of the present invention, the initialvalue of the sequence is an initial parameter used to generate thesequence. For example, for a sequence generated by using a shiftregister, for example, an m-sequence or a Gold sequence, an initialvalue of the sequence is an initialized value of a shift register forgenerating one or more subsequences of the sequence.

In the embodiments of the present invention, the initial location of thesequence is a start location for reading the sequence. The followingprovides a further description with reference to an instance. Forexample, a sequence c₁(n) is generated based on an initial value forgenerating a sequence, where 0≤n≤L−1. Herein, L is a length of thesequence c₁(n), and a value of L is usually greater than a length of ato-be-used sequence. For example, for a Gold sequence with a length of31 bits, a value of L is (2³¹−1), while a length of an actual to-be-usedsequence is usually not greater than 10,000. Therefore, how to extract ato-be-used sequence c from a very long original sequence c₁(n) needs tobe determined. For example, a to-be-used sequence can be defined asc(n)=c₁(n+a), where 0≤n≤M−1, and M is a length of the to-be-usedsequence. The constant a herein is the initial location that is forgenerating a sequence and that is mentioned in the present invention.

In the solution of the embodiments of the present invention, generatinga sequence based on a transmission parameter may include at least one ofthe following cases.

(1) Generate a sequence for determining information to be transmittedaccording to at least one transmission parameter. Specifically, thegenerated sequence may be one sequence, or may be a plurality ofsubsequences.

For example, for the case of the generated sequence is one sequence,generate an initial value of a first sequence according to atransmission parameter A, where an initial location of the firstsequence is a constant; and determine a the first sequence based on theinitial value of the first sequence and the initial location of thefirst sequence.

For the case of a plurality of subsequences are generated, a method forgenerating each subsequence is the same as the foregoing method forgenerating the first sequence, but a transmission parameter used togenerate each subsequence may be different from the transmissionparameter used to generate the first sequence. Optionally, after theplurality of subsequences are generated, to-be-transmitted informationmay be determined based on the plurality of subsequences. Optionally,one sequence may be generated based on the plurality of subsequences,where a length of the generated sequence is a sum of lengths of theplurality of subsequences; and the to-be-transmitted information isdetermined by using the generated sequence.

(2) A target sequence is generated based on at least one transmissionparameter. The generated target sequence is associated with an initialvalue of a final to-be-used sequence. A length of the target sequence isgreater than a length of the sequence that to be used, or the targetsequence is a cyclic sequence. In the solution of the embodiments of thepresent invention, the final to-be-used sequence is extracted from thetarget sequence, and an initial extraction location is corresponding toan initial location of the final to-be-used sequence. In the solution ofthe embodiments of the present invention, the final to-be-used sequenceextracted from the target sequence may be one sequence, or may be aplurality of subsequences. Optionally, when a plurality of subsequencesare extracted, to-be-transmitted information may be determined based onthe plurality of subsequences. Optionally, one sequence may be generatedbased on the plurality of extracted subsequences, where a length of thegenerated sequence is a sum of lengths of the plurality of subsequences;and the to-be-transmitted information is determined by using thegenerated sequence.

In the embodiments of the present invention, the initial value of theto-be-used sequence and/or the initial location of the to-be-usedsequence are/is determined based on the transmission parameter, and anoptional transmission parameter includes but is not limited to one ormore of the following.

(1) Uplink/Downlink Indication Information

The uplink/downlink indication information is used to indicate whethercurrent transmission is uplink transmission or downlink transmission.For example, 1 bit is used to indicate the uplink/downlink information.For example, 1 indicates downlink, and 0 indicates uplink. Optionally,the uplink/downlink indication information may be used in a scenario inwhich a same waveform is used for uplink transmission and downlinktransmission, for example, an OFDM waveform is used for both uplinktransmission and downlink transmission; or may be used in a scenario inwhich different waveforms are used for uplink transmission and downlinktransmission, for example, an OFDM waveform is used for downlinktransmission and a non-OFDM waveform is used for uplink transmission.

When the transmission parameter used for generating the sequence is theuplink/downlink indication information, it can be checked whether adetected current link is an uplink or a downlink, particularly in a TDDsystem in which an uplink and a downlink are on one carrier. Therefore,it can be found in time whether the parameter is correctly detected in aprevious step.

(2) Information about a Waveform Used During Transmission

The information about a waveform used during transmission is used toindicate a specific waveform used during transmission. The waveformincludes an OFDM waveform or an SC-FDM waveform. Herein, 1 bit may beused to indicate the information about a waveform used duringtransmission. For example, 1 indicates the OFDM waveform used duringtransmission, and 0 indicates the SC-FDM waveform used duringtransmission.

Alternatively, in another optional manner, the waveform informationincludes a multi-carrier waveform and a single-carrier waveform.Likewise, 1 bit may be used to indicate the information about a waveformused during transmission. For example, 1 indicates the OFDM waveformused during transmission, and 0 indicates the single carrier waveformused during transmission.

When the transmission parameter used for generating the sequence is theinformation about a waveform used during transmission, information abouta waveform used for a current link can be detected. For example, bothOFDM and SC-FDM can be used on an uplink. If a waveform detected by thereceiver is erroneously determined, errors continuously occur duringsubsequent demodulation. Therefore, it can be found in time whether theparameter is correctly detected in a previous step.

(3) MIMO Parameter Information

MIMO mode indication information indicates a MIMO mode used duringcurrent transmission. The MIMO mode may be a spatial multiplexing modeor a beamforming mode. Alternatively, the MIMO mode may be a spatialmultiplexing mode or a diversity mode. For example, 1 bit is used toindicate the MIMO mode indication information, where 1 indicates spatialmultiplexing, and 0 indicates transmit diversity. Optionally,multiplexing may be single-stream multiplexing, or may be multi-streammultiplexing.

Optionally, the MIMO parameter information may be used to indicate abeam type or a beam identifier. The beam type may be an analog beam or abeam generated based on a codebook or a code word. Alternatively, thebeam type may be a dynamic beam, or a static or semi-static beam. Thedynamic beam can relatively quickly change with time and frequency, andtherefore beam scanning and tracking on a time or frequency resource canbe implemented. The identifier for indicating a beam is a number or anindex for indicating a beam sent or received by a current device.

When the transmission parameter used for generating the sequence is theMIMO parameter information, a MIMO parameter or mode of a current linkcan be detected. In particular, in a high frequency, an identifier of acurrently detected beam can be further confirmed. If the identifier ofthe detected beam is inconsistent with an identifier of a beam in actualcommunication, although it does not cause errors during communication, areceived SNR greatly decreases, affecting communication quality.Therefore, whether the parameter is correctly detected in a previousstep can be found in time by checking the parameter.

(4) Device Type Information

The device type information may be device types obtained throughclassification based on different costs, device types obtained throughclassification based on different device capabilities, or device typesobtained through classification based on different functions. Forexample, the device types obtained through classification based on costsinclude a low-cost device and a high-cost device. These types areusually used for a transmission terminal in the Internet of Things. Forexample, the device types obtained through classification based ondevice capabilities include a low-capability device, a medium-capabilitydevice, and a high-capability device. Alternatively, the device typesobtained through classification based on device capabilities aredirectly obtained through classification based on device capabilitylevels (for example, the capability levels may be 1 to 10). For example,the device types obtained through classification based on differentfunctions include a base station device, a relay device, and a terminaldevice. Alternatively, the device types obtained through classificationbased on different functions may be devices defined based on differentaccess functions, for example, a device in the Internet of Things, amobile broadband service device, and a low-latency and ultra-reliabledevice.

When the transmission parameter used for generating the sequence is thedevice type information, a type of a service accessed by a currentdevice can be detected. For example, if a current transmission device isa low-capability terminal in the Internet of Things and the parameter iserroneously detected, subsequent transmission parameters cannot matchthe parameter, and consequently subsequent detection errors continuouslyoccur. Therefore, it can be found in time whether the parameter iscorrectly detected in a previous step.

(5) Service Type Indication Information

The service type indication information is used to indicate a servicetype. Service types include a mobile broadband service, a low-latencyservice, an ultra-reliable service, a low-latency and ultra-reliableservice, a service in the Internet of Things, and other types.Alternatively, the service types can be indicated by using differentvalues of different service quality parameters.

When the transmission parameter used for generating the sequence is theservice type indication information, a type of a service accessed by acurrent device can be detected. For example, if a currently transmittedservice is a low-latency and ultra-reliable service, once the parameteris erroneously detected, subsequent service layer data cannot match theparameter, and consequently upper-layer data detection errors occur.Therefore, it can be found in time whether the parameter is correctlydetected in a previous step.

(6) Transmission Carrier Indication Information

The transmission carrier index indication information includes a currenttransmission carrier type or a current transmission carrier identifier.The transmission carrier type may be a primary/secondary carrier type,for example, a primary carrier or a secondary carrier. The transmissioncarrier type may be a control plane type, for example, a control carrieror a data carrier. The transmission carrier type may be a schedulingtype: a scheduling-based carrier or a scheduling-free carrier.Alternatively, a transmission carrier may be a licensed carrier or anunlicensed carrier.

When the transmission parameter used for generating the sequence is thetransmission carrier indication information, the following case can beavoided: An error occurs when the current carrier type is detected, andtherefore a different type of carrier is erroneously used. Therefore, itcan be found in time whether the parameter is correctly detected in aprevious step.

(7) Duplex Mode Indication Information

The duplex mode indication information is used to indicate a duplex modeof a current transmission carrier. For example, the duplex modeindication information includes at least two of TDD, FDD, and FD (afull-duplex mode).

When the transmission parameter used for generating the sequence is theduplex mode indication information, a duplex type of the current carriercan be detected, to avoid an error in determining the duplex type.Therefore, it can be found in time whether the parameter is correctlydetected in a previous step.

(8) Different Control Channel or Control Information Formats

The control channel or control information formats are used to indicatetransmission modes of data scheduled by using corresponding controlinformation, for example, different MIMO modes, different service types,or different transmission link types.

Alternatively, the control channel or control information formats areused to indicate different control channel formats or types. Forexample, the formats or types include a long control channel or a shortcontrol channel. For example, 1 bit is used to indicate the format ortype, where 1 indicates a long control channel (for example, a controlchannel with more time domain symbols such as four symbols, one slot, orone subframe length during transmission), and 0 indicates a shortcontrol channel (for example, a control channel with fewer time domainsymbols such as one or two symbols during transmission). For anotherexample, the formats or types include a control channel that is based onone-step scheduling or a control channel that is based on two-stepscheduling.

When the transmission parameter used for generating the sequence is thecontrol information, it can be detected whether a control channel modeis erroneously detected. Once the parameter is erroneously detected,corresponding control information is also erroneously detected.Consequently, the receiver performs more unnecessary blind detection.Therefore, it can be found in time whether the parameter is correctlydetected in a previous step, to reduce blind detection.

(9) Indication Information of Different Subcarrier Spacings

The indication information of different subcarrier spacings is used toindicate values or types of subcarrier spacings used during currenttransmission. For example, the indicated subcarrier spacings are atleast two of the following subcarrier spacing values: {15, 30, 60, 120,240, 480} kHz.

When the transmission parameter used for generating the sequence is theindication information of different subcarrier spacings, it can bedetected whether a subcarrier spacing parameter is erroneously detected.Once the parameter is erroneously detected, errors occur duringsubsequent transmission and detection, because a subcarrier spacing is amost key parameter during transmission in a multi-carrier system. Oncethe parameter is erroneously detected, the receiver continuouslyperforms control and data decoding detection. This increasesimplementation complexity of the entire receiver.

(10) Time Domain Resource Type

The time domain resource type includes a normal time domain resource anda short time domain resource. For example, the time domain resource typemay include a slot (slot) and a mini-slot (mini-slot). A length of themini-slot is usually not greater than that of the slot.

Optionally, the time domain resource type includes indicationinformation of single-resource transmission and indication informationof multi-resource aggregation transmission. The single-resourcetransmission means that during one time of transmission, one most basictransmission resource element is used, for example, one slot and onecarrier; or a single frequency domain resource is used as a unit fortransmission. The multi-resource aggregation transmission means that aplurality of transmission resources are simultaneously used during onetime of transmission. For example, during one time of transmission, aplurality of slots are used for aggregation transmission, a plurality ofcarriers are used for aggregation transmission, or a plurality of basicfrequency domain resource elements are used for aggregationtransmission. Herein, 1 bit may be used to indicate whether currenttransmission is the single-resource transmission or the multi-resourceaggregation transmission. Alternatively, a plurality of bits may be usedto indicate a quantity of currently-aggregated transmission resources.

When the transmission parameter used for generating the sequence is thetime domain resource type, it can be detected whether a current timedomain resource type is erroneously detected. Once the parameter iserroneously detected, fewer or more data symbols are read when a timedomain resource is subsequently read, causing an error during subsequentcommunication. Therefore, it can be found in time whether the parameteris correctly detected in a previous step, to reduce a quantity of blinddetection times and a quantity of decoding times.

(11) Cell Identifier Information

A cell identifier is a physical identifier used to identify a currentcell in which UE is located.

(13) Time Domain Resource Index Information

The time domain resource index information is indication information ofa time domain resource in a specific subcarrier spacing, for example,may be an index of the time domain resource.

In the solution of the embodiments of the present invention, thesequence may be generated by using any one or more of the foregoingtransmission parameters. The sequence is generated by using theforegoing transmission parameters, so that bidirectional check can beperformed on the foregoing transmission parameters. In addition,interference randomization can be performed in different scenarioscorresponding to the foregoing transmission parameters, to avoidnon-differentiable or continuous interference generated in the differentscenarios. When the sequence is generated by using more than onetransmission parameter, bidirectional check can be simultaneouslyperformed on a plurality of parameters, to further improve systemstability and reliability. The following specifically describes thetransmission method in this application with reference to specificembodiments. FIG. 3 is a flowchart of a transmission method according toan embodiment of this application. As shown in FIG. 3, the methodincludes the following steps.

Step S101: A first device generates a sequence based on one or moretransmission parameters.

In the solution of this embodiment of the present invention, the firstdevice may generate the sequence in at least one of the foregoing twomanners. In both the foregoing two manners, when generating thesequence, the first device needs to determine an initial value and/or aninitial location of the sequence based on the one or more transmissionparameters.

In the solution of this embodiment of the present invention, for the oneor more transmission parameters used to determine the initial valueand/or the initial location of the sequence, refer to the foregoingdescriptions.

In the solution of this embodiment of the present invention, that thefirst device determines the initial value of the sequence and/or theinitial location of the sequence based on the one or more transmissionparameters includes the following:

The first device determines the initial value of the sequence based onthe one or more transmission parameters, where the initial location ofthe sequence is a constant. For example, in a solution of generating thesequence by using the transmission parameters, the initial location ofthe sequence is a constant. For another example, in a solution ofgenerating a target sequence based on the one or more transmissionparameters and extracting a to-be-used sequence from the targetsequence, an initial extraction location (corresponding to the initiallocation of the sequence) of the sequence may be set to a constant.

In another possible embodiment, the first device further determines theinitial location of the sequence based on the one or more transmissionparameters. For example, in a solution of generating a target sequencebased on the one or more transmission parameters and extracting ato-be-used sequence from the target sequence, the first device furtherdetermines an initial extraction location (corresponding to the initiallocation of the sequence) of the sequence based on the one or moretransmission parameters.

Optionally, the first device may generate the initial value of thesequence by using a first parameter in the one or more transmissionparameters, and generate the initial location of the sequence by using asecond parameter in the one or more transmission parameters.

It should be noted that the first parameter may be the same as or may bedifferent from the second parameter. In a specific example, when thefirst parameter is the same as the second parameter, the initial valueof the sequence and the initial location of the sequence may beseparately determined based on different bits of a same transmissionparameter. When the initial value of the sequence and the initiallocation of the sequence are separately determined based on thedifferent bits of the same transmission parameter, the transmissionparameter may be any one of the foregoing listed transmissionparameters. In a specific example, the transmission parameter may beuser identity indication information, for example, a radio networktemporary identifier (Radio Network Temporary Identifier, RNTI). Foranother example, the transmission parameter may be a cell identifier. Ina specific example, the transmission parameter is a cell identifier. Ifthe cell identifier has a maximum of 10 bits (in other words, the cellidentifier has a total of 1024 different values), the initial value ofthe sequence may be determined based on first 5 bits of the transmissionparameter, and the initial location of the sequence may be determinedbased on last 5 bits of the transmission parameter. A specific bitselection manner may be determined based on an actual applicationrequirement.

Step S102: The first device generates to-be-transmitted information byusing the sequence.

In the solution of this embodiment of the present invention, that thefirst device generates to-be-transmitted information by using thesequence includes:

scrambling to-be-transmitted data by using the sequence, where theto-be-transmitted information is scrambled to-be-transmitted data; orgenerating a reference signal by using the sequence, where theto-be-transmitted information is a scrambling reference signal.

Optionally, for the case of the first device generates one sequence, thefirst device scrambles the data by using the sequence, or generates thereference signal by using the sequence.

For the case of the first device generates a plurality of subsequences,after generating one sequence based on the plurality of subsequences,the first device may scramble the data by using the sequence, orgenerate the reference signal by using the sequence. In another possibleembodiment, when the first device generates a plurality of subsequences,the first device may scramble the to-be-transmitted data by using theplurality of subsequences, or generate the reference signal by using theplurality of subsequences.

In another possible embodiment, when the first device generates aplurality of subsequences, the plurality of subsequences are separatelycorresponding to different time domain resources or transmissionsystems. The first device selects a sequence from the plurality ofsubsequences based on a current time domain resource or transmissionsystem type; and scrambles the data by using the selected sequence, orgenerates the reference signal by using the selected sequence.

Step S103: The first device sends the to-be-transmitted information.

In the solution of this embodiment of the present invention, after thefirst device sends the to-be-transmitted information, a receiving devicereceives the to-be-transmitted information. The receiving device may bea terminal device in a direct communication manner, or may be a basestation in a base station forwarding manner.

Step S104: A second device receives the information transmitted by thefirst device.

Step S105: The second device demodulates the received transmittedinformation by using a sequence.

The sequence used by the second device is also determined based on theone or more transmission parameters. For a manner of determining thesequence by the second device based on the one or more transmissionparameters, refer to the manner of determining the sequence by the firstdevice, and details are not described herein again.

In the solution of this embodiment of the present invention, that thesecond device demodulates the received transmitted information includesthat the second device demodulates transmitted data by using thesequence, and/or the second device performs receiving processing byusing a received reference signal. The performing receiving processingby using a received reference signal includes: demodulating the receiveddata by using the reference signal; or estimating channel stateinformation by using the reference signal, and/or demodulating the databy using the reference signal.

In summary, it can be seen that in the solution of this embodiment ofthe present invention, the sequence is generated by using the one ormore transmission parameters, for example, a transmission parameternewly introduced into a system and/or a transmission parameter withincreased length; and the data is scrambled by using the generatedsequence, and/or the reference signal is generated by using thegenerated sequence. The second device (corresponding to a receiver) alsogenerates a reference signal before the receiving processing, and thenperforms descrambling in a corresponding step.

If the second device erroneously estimates a transmission parameter in aprocess of communicating with the first device, regardless of a value ofan SNR of the second device, the second device determines that areceived data packet is erroneous, and the second device checks in timewhether a previously obtained transmission parameter is correct, toavoid accumulation or propagation of data transmission errors. FIG. 4 isa flowchart of a transmission method according to another embodiment ofthis application. In the method in this embodiment of the presentinvention, at least an initial location of a sequence is determinedbased on one or more transmission parameters. As shown in FIG. 4, themethod includes the following steps:

Step S201: A first device determines, based on one or more transmissionparameters, an initial location for generating a sequence, where the oneor more transmission parameters are not constants. The one or moretransmission parameters that are not constants may be one or more of theforegoing listed transmission parameters, and details are not describedagain.

In a possible embodiment, an initial value of the sequence to be used bythe first device is a constant. For example, the first device determinesa known sequence as a target sequence, and the first device determine aninitial extraction location (corresponding to the initial location) fromthe target sequence based on the one or more transmission parameters.

In another possible embodiment, the first device further determines aninitial value of the sequence based on the one or more transmissionparameters. For example, the first device determines the target sequencebased on the one or more transmission parameters.

Step S202: The first device generates to-be-transmitted information byusing the sequence.

A method for generating the to-be-transmitted information by using thesequence in this embodiment of the present invention is the same as thatin the embodiment shown in FIG. 3, and details are not described again.

Step S203: The first device sends the to-be-transmitted information.

In the solution of this embodiment of the present invention, after thefirst device sends the to-be-transmitted information, a receiving devicereceives the transmitted information. The receiving device may be aterminal device in a direct communication manner, or may be a basestation in forwarding manner.

Step S204: A second device receives the information transmitted by thefirst device.

Step S205: The second device demodulates the received information byusing a sequence.

The sequence used by the second device is also determined based on theone or more transmission parameters. For a manner of determining thesequence by the second device based on the one or more transmissionparameters, refer to the manner of determining the sequence by the firstdevice, and details are not described herein again.

In the solution of this embodiment of the present invention, the seconddevice demodulates transmitted data by using the sequence, and/or thesecond device performs receiving processing by using a receivedreference signal. The performing receiving processing by using receivedreference information includes: demodulating the received data by usingthe reference signal, or estimating channel state information by usingthe reference signal. A main difference between the transmission methodin the embodiments of the present invention and the transmission methodin the prior art lies in that in the solutions of this application, theone or more transmission parameters are introduced into the sequenceused to scramble the data or used to generate the reference signal. Withreference to the methods shown in FIG. 3 and FIG. 4, a process ofdetermining the sequence based on the one or more transmissionparameters is mainly described in detail in the following embodiments,and a process of scrambling the data based on the generated sequence orgenerating the reference signal based on the generated sequence isdescribed in some embodiments. In the following embodiments, an examplein which a random sequence is determined based on one or moretransmission parameters is used for description.

In a specific embodiment of the transmission method in this application,when generating a random sequence, a first device determines an initiallocation of the random sequence based on one or more of the foregoingtransmission parameters. For example, a random sequence generated in theprior art is fixed at 31 bits, and an output initial location is aconstant value, for example, 1600. When the random sequence is generatedby using the transmission method in this embodiment of the presentinvention, the random sequence may still be determined according to anexisting method, or the random sequence may be determined based on oneor more of the foregoing transmission parameters. Regardless of a mannerused to generate the random sequence, the initial location of the randomsequence is determined based on one or more transmission parameters.

The following further describes a random sequence generation process inthe transmission method in this embodiment of the present invention withreference to a specific example in a Long Term Evolution (Long TermEvolution, LTE) system.

In the LTE system, a random sequence with a length of 31 bits is definedas:

c(n)=(x ₁(n+N _(C))+x ₂(n+N _(C)))mod 2, where

c(n) is an output value of the random sequence, and x₁ and x₂ aregenerated by using the following generator polynomials:

x ₁(n+31)=(x ₁(n+3)+x ₁(n))mod 2

x ₂(n+31)=(x ₂(n+3)+x ₂(n+2)+x ₂(n+1)+x ₂(n))mod 2.

An initial sequence value corresponding to x₁ is x₁(0)=1,x₁(n)=0,n=1, 2,. . . , 30. An initial value corresponding to the random sequence c(n)is an initial value of x₂, namely, c_(init)=Σ_(i=0) ³⁰x₂(i)·2^(i). Insome practical specific applications, an initial value c_(init) of asequence is usually given, and then after the initial value is convertedinto a binary numeral, an initial value of each status bit in an x₂sequence shift register is determined.

In some specific application instances, for example, an initial valuegenerated for a physical uplink shared channel (Physical Uplink SharedChannel, PUSCH) data scrambling sequence is:

c _(init) =n _(RNTI)·2¹⁴ ±q·2¹³ +└n _(s)/2┘·2⁹ +N _(ID) ^(cell).

As shown in FIG. 5, n_(RNTI) is a value of a radio network temporaryidentifier (Radio Network Temporary Identity, RNTI) and is indicated byusing 16 bits; q is a quantity of code words, there are two code wordsin LTE, q is indicated by 1 bit, and a value of q is 0 or 1; n_(s) is aslot number, and a value of n_(s) ranges from 0 to 9 in LTE and isindicated by using 4 bits; and N_(ID) ^(cell) is a cell identifier, anda value of N_(ID) ^(cell) ranges from 0 to 503 in LTE.

It may be learned from FIG. 5 that 30 bits in a sequence with a lengthof 31 bits are occupied. If a new parameter needs to be randomized, thesequence cannot be expanded or a new parameter cannot be added in anexisting LTE technology; or when a length of bits occupied by one ormore of existing parameters increases, an existing sequence cannot beused any more due to a bit length limitation.

To expand a sequence or add a new transmission parameter to a sequence,in an embodiment of the present invention, during sequence generation,for a specific sequence (which may be a reused existing sequence or anewly defined sequence), an initial value and an initial location of thesequence may be determined by using the following method. As shown inFIG. 6, the method includes the following steps.

Step S301: Determine a first part of transmission parameters, where thefirst part of transmission parameters is used to determine an initialvalue of a sequence. For example, the initial value of the randomsequence is still determined according to the formulac_(init)=n_(RNTI)·2¹⁴+q·2¹³+└n_(s)/2┘·2⁹+N_(ID) ^(cell). In this case,the first part of transmission parameters includes an RNTI, q, n_(s),and a cell ID.

Step S302: Determine a second part of transmission parameters, where thesecond part of transmission parameters is used to determine an initiallocation of the random sequence. One or more of the foregoing listedtransmission parameters may be selected as the second part oftransmission parameters. When a transmission parameter is selected, somebits of the transmission parameter may be used. Correspondingly, theinitial location of the random sequence is:

N _(c)=ƒ(x),N _(c)=ƒ(x,y),N _(c)=ƒ(x,y,z), where

f( ) represents a function of transmission parameters x, y, and z.

In some optional specific embodiments, Nc may be any one of thefollowing:

N _(c) =a+x,

N _(c) =a+x+y

N _(c) =a+a·x

N _(c) =α+a·(x+y)

N _(c) =a+a·x+b·y

N _(c)=mod(ƒ(x),L)−M _(PN)

N _(c)=mod(ƒ(x,y),L)−M _(PN), where

a and b are predefined real constants, L is a length of the randomsequence, M_(PN) is a read length of the random sequence, and mod(x, y)represents a modulo operation performed on a transmission parameter ybased on a transmission parameter x.

Optionally, n_(s) is used as an example, and Nc may be any one of thefollowing specific examples:

N _(c)=1600+n _(s),

N _(c)=1600(1+n),

N _(c)=1600+└n _(s)/2^(m)┘,

N _(c)=1600(1+└n _(s)/2^(m)┘),

N _(c)=1600+mod(n _(s) ,M),

N _(c)=1600(1+mod(n _(s) ,M)), where

m is an integer. Apparently, n_(s) may be changed to anothertransmission parameter.

Correspondingly, an output value of the random sequence is

c(n)=(x ₁(n+N _(c))+x ₂(n+N _(c)))mod 2.

Optionally, the second part of transmission parameters may be the sameas or different from the first part of transmission parameters. Forexample, the second part of transmission parameters may be a time domainresource type, transmission waveform indication information, subcarrierspacing indication information, beam indication information, device typeinformation, service type indication information, MIMO mode indicationinformation, duplex mode indication information, and control channelformat indication information. The first part of transmission parametersmay be at least one of a UE identifier and a cell identifier.

Optionally, the second part of transmission parameters may be some bitsof a transmission parameter in the first part of transmissionparameters. For example, time domain resource indication information isdivided into subframe index indication information and slot indexindication information. In a specific example, the first part oftransmission parameters includes a subframe number or a frame number,and the second part of transmission parameters includes a number of aslot in a specific subframe. For another example, the first part oftransmission parameters includes a number of a slot in a specificsubframe, and the second part of transmission parameters includes asubframe number or a frame number. For another example, bits of a cellidentifier may be divided into two parts. One part is corresponding tothe first transmission parameter, and the other part is corresponding tothe second transmission parameter.

According to the transmission method in this embodiment, whendetermining the random sequence, two dimensions: the initial value andthe initial location of the random sequence, need to be determined basedon the transmission parameters. Therefore, in comparison with anexisting method for defining the random sequence, more sequences can berandomized without forcibly requiring modification to the randomsequence. This increases a dimension of randomization, so that a newlyintroduced transmission parameter or a parameter obtained after anoriginal parameter becomes greater can be further randomized, to ensurethat more transmission parameters are randomized. In another specificembodiment of the transmission method in this application, the firstdevice determines the initial value and the initial location of therandom sequence based on a time domain resource index. In the method inthis embodiment of the present invention, the time domain resource indexmay be a time domain resource index value defined in an existing system.Optionally, the time domain resource index is a time domain resourceindex that is redefined after continuous time domain resources aredivided based on a smaller time granularity, and the redefined timedomain resource index is a generation parameter of the random sequence.After the continuous time domain resources are divided into differentparts based on the smaller time granularity, generation parameters ofthe random sequence in a smaller time domain resource are different, andgeneration parameters of the random sequence in smaller time domainresources may be the same or may be different.

In this embodiment of the present invention, a slot is a set of occupiedtransmission resources corresponding to one or more consecutive timedomain symbols. A length of the time domain resources occupied by theslot is usually not greater than 1 ms.

FIG. 7 is a schematic diagram of redivided time domain resources. Asshown in FIG. 7, a frame with a length of 10 ms (millisecond) includes10 subframes, and each subframe has a length of 1 ms. The 10-ms framemay be divided into five time domain sub-resources. Generationparameters of a random sequence in different symbols or slots within atime domain sub-resource are different. Generation parameters of therandom sequence in different time domain sub-resources may be the sameor different. For example, generation parameters of a random sequence oftime domain sub-resource 0 and time domain sub-resource 1 are the same.For another example, the 10-ms frame may be divided into 10 time domainsub-resources with a same length, and each time domain sub-resource isone subframe with a length of 1 ms. Generation parameters of the randomsequence in different symbols or slots within a time domain sub-resourceare different. Generation parameters of a sequence in different timedomain sub-resources, for example, in symbols or slots at a samelocation in a first subframe and a second subframe, may be the same ordifferent.

The solution of this embodiment of the present invention is applicableto a scenario of randomizing a time domain resource. For example, for anormal cyclic prefix (cyclic prefix, CP), if each slot occupies sevensymbols, quantities of slots (slot) in different subcarrier spacings areshown in Table 1.

TABLE 1 Quantities of slots per ms in different subcarrier spacingsSubcarrier spacing (kHz) 15 30 60 120 240 480 Quantity of slots per ms 24 8 16 32 64

The quantities that are of slots (slot) in different subcarrier spacingsand that are shown in Table 1 may alternatively be indicated in a mannerof FIG. 8.

For another example, for a normal CP, if each slot occupies 14 symbols,quantities of slots in different subcarrier spacings are shown in Table2.

TABLE 2 Quantities of slots per ms in different subcarrier spacingsSubcarrier spacing (kHz) 15 30 60 120 240 480 Quantity of slots per ms 12 4 8 16 32

A further method in this embodiment is: replacing, with f(n_(s), M), aslot number n_(s) for generating a random sequence, where f(n_(s), M)represents a function generated based on the slot number n_(s) and aparameter M, in other words, a function determined based on n_(s) and M.

For example, f(n_(s), M)=mod(n_(s), M) represents a modulo operationperformed on the parameter M based on the slot number n_(s).

For another example, for f(n_(s), M), k bits are extracted from a binaryinteger indicated by the slot n_(s), where k is not greater thanceil(log₂(M)). For example, when M=20, ceil(log₂(M))=5. A current slotn_(s) is written as a binary numeral, and 5 bits are extracted from thebinary numeral. For example, if the current n_(s) is 56, the currentn_(s) is written as a binary numeral: 0111000. Herein, 5 bits may beextracted from the binary numeral. For example, if the 5 bits areextracted from right to left, in other words, less significant bits areextracted, a current slot number used to generate the sequence is11000=24. For another example, if the 5 bits are extracted from left toright, in other words, more significant bits are extracted, a currentslot number used to generate the sequence is 01110=14.

Herein, M represents M consecutive slots, and a value of M may bedetermined in any one of the following manners:

(1) M is a predefined fixed positive integer, for example, 20, 16, or32.(2) M is equal to a synchronization signal period corresponding to eachsubcarrier spacing. For example, M is a quantity of slots in thesynchronization signal period. For another example, M is a half of aquantity of slots in the synchronization signal period.(3) M is determined based on a predefined k bits occupied by n_(s), forexample, M=2 k.(4) M is a quantity of slots in a different subcarrier spacing withinpredefined duration. For example, within 1 ms, a quantity of slots in adifferent subcarrier spacing is M=K*M0, and M0 is a quantity of slots ina reference subcarrier spacing. For example, if the reference subcarrierspacing is 15 kHz, M0=2 or 1. Herein, K is a multiple between a currentsubcarrier spacing and the reference subcarrier spacing. For example, ifthe current subcarrier spacing is 120 kHz, and the reference subcarrierspacing is 15 kHz, K=120/15=8, and correspondingly M=16 in this case.

In the solution of this embodiment of the present invention, M slots ina specific subcarrier spacing within a frame are used as a smaller timedomain sub-resource, and a random sequence is generated in M slotswithin each time domain sub-resource based on f(n_(s), M).

It should be noted that different M slots in different subcarrierspacings occupy different durations. This is different from the priorart. For example, when M=16, M in a subcarrier spacing of 15 kHz iscorresponding to 8 ms, M in a subcarrier spacing of 30 kHz iscorresponding to 4 ms, and M in a subcarrier spacing of 60 kHz iscorresponding to 2 ms.

In the solution of this embodiment of the present invention, a problemof how to generate scrambling sequences for slot parameters in differentsubcarrier spacings within a time-frequency resource of a preset length(for example, a 10-ms frame) is resolved. Therefore, a problem of how togenerate a scrambling sequence by using a larger value of n_(s) isresolved without a modification to the sequence. After this subembodiment is implemented, scrambling on adjacent different time domainsub-resources is also different. In other words, within a 10-ms frame,scrambled sequences in different slots may be the same or different. Ina solution of another embodiment of the transmission method in thisapplication, the first device may separately generate a plurality ofsequences based on different transmission parameters or based ondifferent bits of a same transmission parameter, and then scramble dataor generate a reference signal by separately or jointly using theplurality of sequences.

In the solution of this embodiment of the present invention, an optionalmethod is: performing two-step numbering on a slot, and then separatelygenerating different sequences based on different slot numbers.

For example, each time domain sub-resource is numbered by usingfix(n_(s)/M), where fix(x) represents a rounding down operationperformed on a number x. For example, fix(15.2)=15, and fix(16.7)=16. Avalue of M is the same as the foregoing defined value. Numbers of slotswithin a time domain sub-resource that includes M consecutive slots arethe same, and numbers of slots within different time domainsub-resources are different. When a random sequence is generated, twonumbers are generated:

n _(s1) =fix(n _(s) /M); and

n _(s2)=mod(n _(s) ,M).

For example, when M=8, and a subcarrier spacing is 30 kHz, a number of atime domain resource within a 10-ms frame and numbers of slots withinthe time domain resource are shown in Table 3 and FIG. 9.

TABLE 3 Number of a time domain resource within a 10-ms frame in 30 kHzand numbers of slots within the time domain resource Slot index 0 1 2 38 9 10 11 16 17 18 19 24 25 26 27 32 33 34 35 4 5 6 7 12 13 14 15 20 2122 23 28 29 30 31 36 37 38 39 Number n_(s2) of a 0 1 2 3 4 time domainsub-resource Numbers n_(s1) within 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 0 1 23 a time domain 4 5 6 7 4 5 6 7 4 5 6 7 4 5 6 7 4 5 6 7 sub-resource

In the solution of this embodiment of the present invention, optionally,slot parameters obtained after two-step numbering may be randomized byusing two sequences. The two sequences may be the same or may bedifferent. The two sequences are respectively as follows:

c _(1,init)=ƒ(n _(s1)); and

c _(2,init)=ƒ(n _(s2)), where

f(x) represents a function of x, in other words, initial values of thetwo sequences are determined based on the input variable x.

For example, if duration occupied by each time domain subunit is 1 ms, atime domain sub-resource number is a subframe number (nsubframe),namely, n_(s1)=fix(n_(s)/M)=nsubframe.

If the PUSCH scrambling mentioned above is used as an example, aninitial value of a first sequence is:

c _(1,init) =n _(RNTI)·2¹⁴ +q·2¹³ +n _(subframe)·2⁹ +N _(ID) ^(cell);and

an initial value of a second sequence is:

c _(2,init) =n _(s)2=(n _(s) ,M)

M=K*M ₀

Herein, K and M0 are positive integers.

In the solution of this embodiment of the present invention, anotheroptional method is: separately generating different sequences by usingdifferent transmission parameters, and then randomizing data orgenerating a reference signal by using these generated sequences.

For example, an initial value and/or an initial location c_(1,init) of afirst sequence are/is generated by using at least one of the followingparameters:

a time domain resource index, a time domain resource type, transmissionwaveform indication information, subcarrier spacing indicationinformation, beam indication information, and a UE identifier.

For example, an initial value and/or an initial location c_(1,init) of afirst sequence are/is generated by using at least one of the followingparameters:

a cell identifier, device type information, service type indicationinformation, MIMO mode indication information, duplex mode indicationinformation, control channel format indication information, and carrierindication information.

Then, the first sequences c₁(n) and c₂(n) are separately obtained, andare separately used to scramble data and generate a reference signal inat least one of the following manners.

It is assumed that to-be-scrambled data is d(n). Then, output scrambleddata b(n) is generated in the following manner:

b(n)=(d(n)+c ₁(n)+c ₂(n))mod 2.

If a reference signal is generated by using a random sequence, a secondsequence may be used in the following two manners:

Manner 1: Generate a first reference signal and a second referencesignal respectively by using the first sequence and the second sequence,and then generate a target reference signal based on the first referencesignal and the second reference signal.

For example, first, two reference signal sequences r₁(m) and r₂(m) areseparately generated:

${r_{1}(m)} = {{\frac{1}{\sqrt{2}}\left( {1 - {2 \cdot {c_{1}\left( {2m} \right)}}} \right)} + {j\frac{1}{\sqrt{2}}\left( {1 - {2 \cdot {c_{1}\left( {{2m} + 1} \right)}}} \right)}}$${{r_{2}(m)} = {{\frac{1}{\sqrt{2}}\left( {1 - {2 \cdot {c_{2}\left( {2m} \right)}}} \right)} + {j\frac{1}{\sqrt{2}}\left( {1 - {2 \cdot {c_{2}\left( {{2m} + 1} \right)}}} \right)}}},$

m represents an identifier of each chip for generating a referencesignal.

Then, a target reference signal sequence is generated:

r(m)=r ₁(m)·r ₂(m)

or

r(m)=r ₁(m)·r ₂*(m), where

r₂*(m) represents a complex conjugate number of r₂(m).

Manner 2: Generate a target reference signal sequence by jointly usingthe first sequence and the second sequence, and generate a targetreference signal by using the target reference signal sequence.

For example, a target reference signal sequence r(m) is generated byjointly using the first sequence and the second sequence:

${r(m)} = {{\frac{1}{\sqrt{2}}\left( {1 - {2 \cdot {c\left( {2m} \right)}}} \right)} + {j\frac{1}{\sqrt{2}}\left( {1 - {2 \cdot {c\left( {{2m} + 1} \right)}}} \right)}}$c(2m) = (c₁(2m) + c₂(2m))mod  2c(2m) = (c₁(2m + 1) + c₂(2m + 1))mod  2,

x mod 2 represents a modulo operation performed on 2 based on x, and hasa same meaning as the foregoing mod(x, 2) but has a different expressionmanner from the foregoing mod(x, 2).

This embodiment has the following beneficial effects: A problem of howto perform transmission check on more transmission parameters isresolved. According to the method in this embodiment, more parameterscan be transmitted, without forcibly grouping different time domainresources within a 10-ms frame. This can ensure that transmissionparameters in different subframes within 10 ms are different.

Optionally, more than two sequences can be generated by usingtransmission parameters. Use these sequences to scramble data orgenerate a reference signal. Used methods are the same as those for twosequences, and therefore are not listed herein again. A solution ofdetermining an initial value and an initial location of a randomsequence based on a time domain resource index is the solution providedin FIG. 7 to FIG. 9 and the related descriptions, to be specific, a timedomain resource index is redefined after continuous time domainresources are divided based on a smaller time granularity, and theredefined time domain resource index is used as a generation parameterfor determining the random sequence.

In another solution of determining an initial value and an initiallocation of a random sequence based on a time domain resource index, asymbol in a slot may be used as a mini-slot (mini-slot), and numbers arefurther assigned to mini-slots (mini-slot) in one or more slots, and thesequence is generated based on the numbers. A specific method forfurther assigning numbers to mini-slots (mini-slot) in one or more slotsand generating a sequence based on the numbers for transmission includesthe following steps.

(1) Determine a first time domain resource index, where a time domainresource corresponding to the first time domain resource index is in atime domain resource corresponding to a second time domain resourceindex, and a subcarrier transmission spacing corresponding to the firsttime domain resource index is different from a subcarrier spacingcorresponding to the second time domain resource index.

In a specific example, as shown in FIG. 10, slot i (slot i) is thesecond time domain resource index, a time domain resource correspondingto symbol 2 in the slot i is a mini-slot (mini-slot), and the mini-slotincludes four symbols numbered 0 to 3. Optionally, the mini-slot canoccupy one or more symbols in the slot i, but does not occupy more thanall symbols in the slot i. The mini-slot is the first time domainresource.

(2) Generate the sequence based on the first time domain resource index.

(3) Scramble to-be-transmitted data by using the sequence, and/orgenerate a reference signal by using the sequence.

Further, optionally, a subcarrier spacing of the slot i is smaller thana subcarrier spacing of the mini-slot. For example, the subcarrierspacing of the slot i is 15 kHz, and the subcarrier spacing of themini-slot is 30 kHz or 60 kHz. As shown in FIG. 10, when the subcarrierspacing of the slot i is 15 kHz, if the subcarrier spacing of themini-slot is 60 kHz, one symbol 2 in the slot i may be corresponding tofour symbols in the mini-slot. According to a time-frequencyrelationship in an OFDM system, a larger subcarrier spacing indicatesshorter duration occupied by each symbol.

In this embodiment, because one slot i has time domain transmissionresources in different subcarrier spacings, a generation parameter of asequence that is used to scramble data used in a mini-slot and/orgenerate a reference signal, in particular, a parameter of a time domainresource index needs to be determined. In other words, when the data inthe mini-slot and/or the reference signal are/is generated, anidentifier of the mini-slot needs to be determined, and identifiers ofdifferent symbols in the mini-slot further need to be determined. Ifthese parameters are not determined, parameter confusion occurs when thecorresponding sequence is generated. This affects bidirectional check ona corresponding transmission parameter, and therefore affectscommunication performance and system stability.

Optionally, the first time domain resource index is determined in atleast one of the following manners:

Manner 1: Determine the first time domain resource index based on a slotindex of the second time domain resource index occupied by the firsttime domain resource index. In a specific example, as shown in FIG. 10,a time domain resource index of the mini-slot is indicated by using atime domain resource index i of the slot 1.

Manner 2: Determine the first time domain resource index based on asymbol index of the second time domain resource index occupied by thefirst time domain resource index. In a specific example, as shown inFIG. 10, a time domain resource index of the mini-slot is indicated byusing a number 2 of the symbol in the slot i.

Manner 3: Determine the first time domain resource index based on slottype indication information of the first time domain resource index. Ina specific example, the slot type indication information may indicate asymbol length of the mini-slot or a subcarrier spacing of the mini-slot.

Manner 4: Determine the first time domain resource index based on anindex of each symbol in the slot of the first time domain resourceindex. In a specific example, an index of the mini-slot may be generatedby using an index of a specific time domain symbol in the mini-slot. Ina solution of this embodiment of the present invention, data in controlinformation (for example, information in a physical broadcast channelPBCH) sent together with a synchronization signal may further bescrambled by using a parameter related to a slot or symbol number.

For example, any one of the following implementations may be used:

c _(init) =N _(ID) ^(cell) +n _(s)

c _(init) =N _(ID) ^(cell) +└n _(s)/2^(m)┘

c _(init) =N _(ID) ^(cell) +n _(s)+1

In the solution of this embodiment of the present invention, the data inthe control information sent together with the synchronization signal isscrambled to implement bidirectional check on synchronization detection.Optionally, a slot index and a symbol index may be jointly used for thedata in the control information and a reference signal used when thecontrol information is transmitted. In other words, both the slot indexand the symbol index may separately or simultaneously appear duringgeneration of a reference signal sequence, and may also appear duringgeneration of a data scrambling sequence.

A time domain resource related to a subcarrier spacing is scrambled. Atime domain resource within predefined duration (for example, one radioframe) is divided into M time domain sub-resources. Two concatenatedsequences are used to scramble data on each time domain sub-resource andgenerate a reference signal on each time domain sub-resource. Inaddition, control information sent together with a synchronizationsignal is scrambled by using a parameter related to a slot or symbolindex, to implement bidirectional check. In a possible example of thisapplication, a new random sequence with a length greater than 31 bitscan be defined, so that an extended slot length and more transmissionparameters that need to be used to generate the random sequence can beinput into the random sequence. A manner of defining a new randomsequence with a length greater than 31 bits includes one or acombination of the following manners:

(1) A single random sequence with a length greater than 31 bits is used.The used random sequence is not limited to a Gold sequence, and mayalternatively be another random sequence such as an m-sequence, aGold-like sequence, or a Kasami sequence.

(2) A new random sequence is determined based on a plurality ofsubsequences.

In a possible embodiment, a new random sequence is generated accordingto a formula c(n)=c₁(n mod N₁)·c₂(n mod N₂),0≤n≤N₁·N₂−1, where

c₁ is a subsequence, N₁ is a length of the subsequence c₁, c₂ is anothersubsequence, N₂ is a length of the subsequence c₂, and a length of asequence c is N1*N2.

Optionally, c₁ and c₂ each can use a Gold sequence with a length of 31bits; or one of c₁ and c₂ uses a Gold sequence with a length of 31 bits,and the other uses an m-sequence or a Gold sequence with a length of atleast 5 bits.

Optionally, one subsequence uses a Gold sequence with a length of 31bits, and the sequence may be an existing sequence, or may be a sequenceredetermined according to the method in the embodiments of the presentinvention; and the other subsequence uses a sequence with a length of 7bits, and the sequence with the length of 7 bits may be generatedaccording to x₁(n+7)=(x₁(n+1)+)mod 2. In this case, a length of agenerated sequence is 38 bits.

Optionally, one subsequence uses a Gold sequence with a length of 31bits, and the sequence may be an existing sequence, or may be a sequenceredetermined according to the method in the embodiments of the presentinvention; and the other subsequence uses a sequence with a length of 12bits, and the sequence with the length of 12 bits may be generatedaccording to x₁(n+12)=(x₁(n+3)+1)mod 2. In this case, a length of agenerated sequence is 43 bits.

In another possible embodiment, a longer new sequence may be generatedby using three subsequences. For example, a new sequence is generatedaccording to a formula c(n)=c₁(n mod N₁)·c₂(n mod N₂)·c₃(n modN₃),0≤n≤N₁·N₂·N₃−1, where c₁, c₂, and c₃ are three subsequences, and N₁,N₂, and N₃ are lengths of the three subsequences.

In the solution of this embodiment of the present invention, an initialvalue of each subsequence may be determined based on one or moretransmission parameters. The transmission parameter(s) corresponding todifferent subsequences may be the same or different. In animplementation, transmission parameters that need to be randomized maybe divided into a plurality of groups, and all the groups oftransmission parameters are separately mapped to initial values ofdifferent subsequences.

(3) A plurality of random sequences are defined. The plurality of randomsequences may belong to a same type. For example, all random sequencesare Gold sequences. Certainly, some or all of the plurality of randomsequences may respectively belong to different types. For example, theplurality of random sequences include a Gold sequence, an m-sequence,and the like.

In the solution of this embodiment of the present invention, differentrandom sequences may be corresponding to different service types ordifferent device types. For example, a first random sequence is used foreMBB, a second random sequence is used for mMTC, and a third randomsequence is used for URLLC. For example, a first random sequence is usedfor a high-capability device, a second random sequence is used for amedium-capability terminal, and the third random sequence is used for alow-capability device.

When to-be-transmitted data is scrambled by using a random sequence or areference signal is generated by using a random sequence, the randomsequence may be determined based on a system parameter and/or a deviceparameter that are/is associated with the to-be-transmitted data or theto-be-generated reference signal, and then the to-be-transmitted data isscrambled by using the determined random sequence, or the referencesignal is generated by using the determined random sequence.

In the solution of this embodiment of the present invention, ato-be-randomized transmission parameter is set on a longer sequence ordifferent subsequences used to generate a sequence, to extend a lengthof a random sequence, and increase a quantity of transmission parametersthat can be randomized or a length of a transmission parameter that canbe randomized. In the solution of this embodiment of the presentinvention, one part of transmission parameters may be used to generate arandom sequence, and the other part is carried in control information.

For example, one part of fields of a cell identifier is used to generatea random sequence, and the other part of fields of the cell identifiermay be carried in control information.

For another example, one part of fields of an RNTI is used to generate arandom sequence, and the other part of fields of the RNTI may be carriedin control information.

In the method in this embodiment of the present invention, because therandom sequence is generated by using some of the transmissionparameters, the generated random sequence may be shorter than a randomsequence defined in the prior art. When the generated random sequence isrelatively short, an original bit used to carry the random sequence maybe used to carry other information. For example, a time domain resourceindex related to a subcarrier spacing may occupy more bits of the randomsequence, to fully indicate or randomize time domain resource indexinformation related to the subcarrier spacing. Corresponding to theforegoing transmission method, the embodiments of the present inventionfurther provide a transmission apparatus configured to perform theforegoing transmission method. The following describes the transmissionapparatus in the embodiments of the present invention with reference toschematic diagrams.

FIG. 11 is a schematic structural diagram of a transmission apparatusaccording to this application. The transmission apparatus shown in FIG.11 is configured to perform steps performed by the first device in theforegoing method embodiments. As shown in FIG. 11, the apparatusincludes a sequence generation module 301, a transmit informationgeneration module 302, and a sending module 303.

The sequence generation module 301 is configured to generate a sequencebased on one or more transmission parameters, where the one or moretransmission parameters include at least one of the following: a timedomain resource type, transmission waveform indication information,subcarrier spacing indication information, device type information,service type indication information, multiple-input multiple-output(MIMO) parameter information, duplex mode indication information,control channel format indication information, and transmission carrierindication information. The transmit information generation module 302is configured to generate to-be-transmitted information by using thesequence.

The sending module 303 is configured to send the to-be-transmittedinformation.

In a possible embodiment, that the sequence generation module 301generates the sequence based on the one or more transmission parametersspecifically includes:

determining an initial value of the sequence and/or an initial locationof the sequence based on at least one of the one or more transmissionparameters, and generating the sequence based on the initial value ofthe sequence and/or the initial location of the sequence.

In a possible embodiment, the one or more transmission parametersfurther include a time domain resource index and/or a cell identifier.

In a possible embodiment, the time domain resource index is determinedin any one of the following manners:

determining the time domain resource index based on a positive integerindicated by signaling; determining the time domain resource index basedon a system message period or a synchronization signal transmissioninterval; determining the time domain resource index based on asubcarrier spacing; and determining the time domain resource index basedon a quantity of slots in a subcarrier spacing used within predefinedduration.

In a possible embodiment, that the sequence generation module 301determines the initial value of the sequence and/or the initial locationof the sequence based on the at least one of the one or moretransmission parameters specifically includes:

generating the initial value of the sequence by using a first parameterin the one or more transmission parameters, and generating the initiallocation of the sequence by using a second parameter in the one or moretransmission parameters, where the first parameter is different from thesecond parameter; or respectively determining the initial value of thesequence and the initial location of the sequence based on differentbits of a same transmission parameter.

In a possible design, that the transmit information generation module302 generates the to-be-transmitted information by using the sequencespecifically includes:

determining, based on a service type parameter of to-be-transmitted dataand/or a capability type of a receiving device, the sequence used togenerate the to-be-transmitted information; and generating theto-be-transmitted information by using the determined sequence.

In a possible embodiment, that the sequence generation module 301generates the sequence based on the one or more transmission parametersspecifically includes:

generating a plurality of subsequences based on the one or moretransmission parameters, where each subsequence is determined based onall or some of the one or more transmission parameters; and generatingthe sequence based on the plurality of subsequences, where a length ofthe sequence is a sum of lengths of the plurality of subsequences.

In a possible embodiment, that the sequence generation module 301generates the sequence based on the one or more transmission parametersspecifically includes:

generating a plurality of subsequences based on the one or moretransmission parameters, where each subsequence is determined based onall or some of the one or more transmission parameters; andcorrespondingly that the transmit information generation module 302generates the to-be-transmitted information by using the sequencespecifically includes:

scrambling the to-be-transmitted data by using the plurality ofsubsequences, and/or generating a reference signal by using theplurality of subsequences; or the plurality of subsequences arerespectively used on different time domain resources. FIG. 12 is aschematic structural diagram of another transmission apparatus accordingto this application. The transmission apparatus shown in FIG. 12 isconfigured to perform steps performed by the first device in theforegoing method embodiments. As shown in FIG. 12, the apparatusincludes:

a first generation module 401, configured to determine, based on one ormore transmission parameters, an initial location used to generate asequence, where the one or more transmission parameters are notconstants; and a second generation module 402, configured to generateto-be-transmitted information by using the sequence; and

a sending module 403, configured to send the to-be-transmittedinformation.

In a possible embodiment, the one or more transmission parametersinclude at least one of the following: a time domain resource index, atime domain resource type, transmission waveform indication information,subcarrier spacing indication information, device type information,service type indication information, MIMO parameter information, duplexmode indication information, control channel format indicationinformation, a cell identifier, and transmission carrier indicationinformation.

In a possible embodiment, the first generation module 401 is furtherconfigured to determine an initial value of the sequence based on theone or more transmission parameters.

In a possible embodiment, a transmission parameter used to determine theinitial value of the sequence is different from a transmission parameterused to determine the initial location of the sequence; or

the initial value of the sequence and the initial location of thesequence are respectively determined based on different bits of a sametransmission parameter.

In a possible embodiment, the time domain resource index is determinedbased on a parameter M, where the parameter M is determined in any oneof the following manners:

the parameter M is a predefined positive integer; the parameter M isindicated by signaling; the parameter M is determined based on a systemmessage period or a synchronization signal transmission interval; theparameter M is determined based on a subcarrier spacing; or theparameter M is determined based on a quantity of slots in a subcarrierspacing used within predefined duration.

In a possible embodiment, the sequence is determined based on aplurality of subsequences, where each subsequence is determined based onall or some of the one or more transmission parameters, and a length ofthe sequence is a sum of lengths of the plurality of subsequences.

In a possible embodiment, the sequence includes a plurality ofsubsequences, where each subsequence is determined based on all or someof the one or more transmission parameters; and correspondingly that asecond generation module 402 generates the to-be-transmitted informationby using the sequence specifically includes:

scrambling to-be-transmitted data by using the plurality ofsubsequences, and/or generating a reference signal by using theplurality of subsequences; or the plurality of subsequences arerespectively used on different time domain resources.

In a possible embodiment, that the second generation module 402generates the to-be-transmitted information by using the sequencespecifically includes:

determining, based on a service type parameter of to-be-transmitted dataand/or a capability type of a receiving device, the sequence used togenerate the to-be-transmitted information; and generating theto-be-transmitted information by using the determined sequence. FIG. 13is a schematic structural diagram of still another transmissionapparatus according to this application. The transmission apparatusshown in FIG. 13 is configured to perform steps performed by the seconddevice in the foregoing method embodiments. As shown in FIG. 13, theapparatus includes:

a receiving module 501, configured to receive information transmitted bya first device; and a demodulation processing module 502, configured todemodulate the received information by using a sequence, where thesequence is determined based on one or more transmission parameters, andthe one or more transmission parameters include at least one of thefollowing: a time domain resource type, transmission waveform indicationinformation, subcarrier spacing indication information, device typeinformation, service type indication information, multiple-inputmultiple-output (MIMO) parameter information, duplex mode indicationinformation, control channel format indication information, andtransmission carrier indication information.

In a possible embodiment, the demodulation processing module 502 isfurther configured to: determine an initial value of the sequence and/oran initial location of the sequence based on at least one of the one ormore transmission parameters, and generate the sequence based on theinitial value of the sequence and/or the initial location of thesequence.

In a possible embodiment, the one or more transmission parametersfurther include a time domain resource index and/or a cell identifier.

In a possible design, the time domain resource index is determined inany one of the following manners:

determining the time domain resource index based on a positive integerindicated by signaling; determining the time domain resource index basedon a system message period or a synchronization signal transmissioninterval; determining the time domain resource index based on asubcarrier spacing; and determining the time domain resource index basedon a quantity of slots in a subcarrier spacing used within predefinedduration.

In a possible embodiment, that the demodulation processing module 502determines the initial value of the sequence and/or the initial locationof the sequence based on the at least one of the one or moretransmission parameters specifically includes:

generating the initial value of the sequence by using a first parameterin the one or more transmission parameters, and generating the initiallocation of the sequence by using a second parameter in the one or moretransmission parameters, where the first parameter is different from thesecond parameter; or respectively determining the initial value of thesequence and the initial location of the sequence based on differentbits of a same transmission parameter.

In a possible embodiment, that the demodulation processing module 502demodulates the received information by using the sequence specificallyincludes:

determining, based on a service type parameter of transmitted dataand/or a capability type of a receiving device, the sequence used todemodulate the received information; and demodulating the receivedinformation by using the determined sequence.

In a possible embodiment, that the sequence is determined based on oneor more transmission parameters includes that

the sequence is determined based on a plurality of subsequences, whereeach subsequence is determined based on all or some of the one or moretransmission parameters, and a length of the sequence is a sum oflengths of the plurality of subsequences.

In a possible embodiment, that the sequence is determined based on oneor more transmission parameters includes that the sequence includes aplurality of subsequences, where each subsequence is determined based onall or some of the one or more transmission parameters; and that thedemodulation processing module 502 demodulates the received informationby using the sequence specifically includes:

demodulating the received information by using the plurality ofsubsequences; or the plurality of subsequences are respectively used ondifferent time domain resources.

FIG. 14 is a schematic structural diagram of yet another transmissionapparatus according to this application. The transmission apparatusshown in FIG. 14 is configured to perform steps performed by the secondtransmission apparatus in the foregoing method embodiments. As shown inFIG. 14, the apparatus includes:

a receiving module 601, configured to receive information transmitted bya first device; and a processing module 602, configured to demodulatethe received information by using a sequence, where an initial locationof the sequence is determined based on one or more transmissionparameters, and the one or more transmission parameters are notconstants.

In a possible embodiment, the one or more transmission parametersinclude at least one of the following: a time domain resource index, atime domain resource type, transmission waveform indication information,subcarrier spacing indication information, device type information,service type indication information, MIMO parameter information, duplexmode indication information, control channel format indicationinformation, a cell identifier, and transmission carrier indicationinformation.

In a possible embodiment, the initial location of the sequence isdetermined based on the one or more transmission parameters.

In a possible embodiment, a transmission parameter used to determine theinitial value of the sequence is different from a transmission parameterused to determine the initial location of the sequence; or

the initial value of the sequence and the initial location of thesequence are respectively determined based on different bits of a sametransmission parameter.

In a possible embodiment, the time domain resource index is determinedbased on a parameter M, where the parameter M is determined in any oneof the following manners:

the parameter M is a predefined positive integer; the parameter isindicated by signaling; the parameter M is determined based on a systemmessage period or a synchronization signal transmission interval; theparameter M is determined based on a subcarrier spacing; and theparameter M is determined based on a quantity of slots in a subcarrierspacing used within predefined duration.

In a possible embodiment, the sequence is determined based on aplurality of subsequences, where each subsequence is determined based onall or some of the one or more transmission parameters, and a length ofthe sequence is a sum of lengths of the plurality of subsequences.

In a possible embodiment, the sequence includes a plurality ofsubsequences, where each subsequence is determined based on all or someof the one or more transmission parameters; and correspondingly that theprocessing module 602 demodulates the received information by using thesequence specifically includes:

demodulating the received information by using the plurality ofsubsequences; or the plurality of subsequences are respectively used ondifferent time domain resources.

In a possible embodiment, that the processing module 602 demodulates thereceived information by using the sequence specifically includes:

determining, based on a service type parameter of transmitted dataand/or a capability type of a receiving device, the sequence used todemodulate the received information; and

demodulating the received information by using the determined sequence.In a solution of the embodiments of the present invention, thetransmission apparatuses in FIG. 11 to FIG. 14 may be access devices.FIG. 15 is a possible schematic structural diagram of the access devicein the foregoing embodiments. As shown in FIG. 15, the access deviceincludes a transmitter/receiver 1001, a controller/processor 1002, amemory 1003, and a communications unit 1004. The transmitter/receiver1001 is configured to: support receiving and sending information betweenthe access device and the terminal device in the foregoing embodiments,and support radio communication between the terminal device and anotherterminal device. The controller/processor 1002 performs variousfunctions for communicating with the terminal device. In an uplink, anuplink signal from the terminal device is received by using an antenna,is demodulated by the receiver 1001, and is further processed by thecontroller/processor 1002 to restore service data and signalinginformation that are sent by the terminal device. In a downlink, servicedata and a signaling message are processed by the controller/processor1002 and are demodulated by the transmitter 1001 to generate a downlinksignal, and the downlink signal is transmitted to the terminal device byusing the antenna. The controller/processor 1002 further performs thedata transmission method performed by the first device or the seconddevice in the solutions of the embodiments of the present invention. Thememory 1003 is configured to store program code and data of the accessdevice. The communications unit 1004 is configured to support the accessdevice in communicating with another network entity.

Optionally, when the access device shown in FIG. 15 is used as thetransmission apparatus shown in FIG. 11 to perform the transmissionmethod in the embodiments of the present invention, thecontroller/processor 1002 in FIG. 15 implements, independently or incooperation with the memory 1003, functions implemented by the sequencegeneration module 301 and the transmit information generation module 302in FIG. 11, and the transmitter/receiver 1001 is configured to implementa function implemented by the sending module 303 in FIG. 11.

Optionally, when the access device shown in FIG. 15 is used as thetransmission apparatus shown in FIG. 12 to perform the transmissionmethod in the embodiments of the present invention, thecontroller/processor 1002 in FIG. 15 implements, independently or incooperation with the memory 1003, functions implemented by the firstgeneration module 401 and the second generation module 402 in FIG. 12,and the transmitter/receiver 1001 is configured to implement a functionimplemented by the sending module 403 in FIG. 12.

Optionally, when the access device shown in FIG. 15 is used as thetransmission apparatus shown in FIG. 13 to perform the transmissionmethod in the embodiments of the present invention, thecontroller/processor 1002 in FIG. 15 implements, independently or incooperation with the memory 1003, a function implemented by thedemodulation processing module 502 in FIG. 13, and thetransmitter/receiver 1001 is configured to implement a functionimplemented by the receiving module 501 in FIG. 13.

Optionally, when the access device shown in FIG. 15 is used as thetransmission apparatus shown in FIG. 14 to perform the transmissionmethod in the embodiments of the present invention, thecontroller/processor 1002 in FIG. 15 implements, independently or incooperation with the memory 1003, a function implemented by theprocessing module 602 in FIG. 14, and the transmitter/receiver 1001 isconfigured to implement a function implemented by the receiving module601 in FIG. 14.

It may be understood that FIG. 15 shows merely a simplified embodimentof the access device. In actual application, the access device mayinclude any quantity of transmitters, receivers, processors,controllers, memories, communications units, and the like, and accessdevices that can implement the present invention fall within theprotection scope of the present invention.

In a solution of the embodiments of the present invention, thetransmission apparatuses in FIG. 11 to FIG. 14 may be terminal devices.FIG. 16 is a schematic diagram of a simplified possible embodimentstructure of the terminal device in the foregoing embodiments. Theterminal device includes a transmitter 1101, a receiver 1102, acontroller/processor 1103, a memory 1104, and a modem processor 1105.

The transmitter 1101 adjusts (for example, performs analog conversion,filtering, amplification, and up-conversion) output sample and generatesan uplink signal. The uplink signal is transmitted to the access devicein the foregoing embodiments by using an antenna. In a downlink, theantenna receives a downlink signal transmitted by the access device inthe foregoing embodiments. The receiver 1102 adjusts (for example,performs filtering, amplification, down-conversion, and digitization) asignal received from the antenna, and provides an input sample. In themodem processor 1105, an encoder 1106 receives service data and asignaling message that are to be sent in an uplink, and processes (forexample, performs formatting, encoding, and interleaving) the servicedata and the signaling message. A modulator 1107 further processes (forexample, performs symbol mapping and modulation) encoded service dataand an encoded signaling message, and provides an output sample. Ademodulator 1109 processes (for example, demodulates) the input sample,and provides a symbol estimate. A decoder 1108 processes (for example,performs de-interleaving and decoding) the symbol estimate, and providesdecoded data and a decoded signaling message that are to be sent to theterminal device. The encoder 1106, the modulator 1107, the demodulator1109, and the decoder 1108 may be implemented by the composite modemprocessor 1105. These units perform processing based on a radio accesstechnology (for example, access technologies in LTE and other evolvedsystems) used in a radio access network.

The controller/processor 1103 controls and manages an action of theterminal device, and is configured to perform the data transmissionmethod performed by the first device or the second device in theembodiments of the present invention. The memory 1104 is configured tostore program code and data that are used by the terminal device.

Optionally, when the terminal device shown in FIG. 16 is used as thetransmission apparatus shown in FIG. 11 to perform the transmissionmethod in the embodiments of the present invention, thecontroller/processor 1103 in FIG. 16 implements, independently or incooperation with the memory 1104, functions implemented by a sequencegeneration module 301 and a transmit information generation module 302in FIG. 11, and the transmitter 1101 is configured to implement afunction implemented by the sending module 303 in FIG. 11.

Optionally, when the terminal device shown in FIG. 16 is used as thetransmission apparatus shown in FIG. 12 to perform the transmissionmethod in the embodiments of the present invention, thecontroller/processor 1103 in FIG. 16 implements, independently or incooperation with the memory 1003, functions implemented by the firstgeneration module 401 and the second generation module 402 in FIG. 12,and the transmitter 1101 is configured to implement a functionimplemented by the sending module 403 in FIG. 12.

Optionally, when the terminal device shown in FIG. 16 is used as thetransmission apparatus shown in FIG. 13 to perform the transmissionmethod in the embodiments of the present invention, thecontroller/processor 1103 in FIG. 16 implements, independently or incooperation with the memory 1003, a function implemented by thedemodulation processing module 502 in FIG. 13, and the receiver 1102 isconfigured to implement a function implemented by the receiving module501 in FIG. 13.

Optionally, when the terminal device shown in FIG. 16 is used as thetransmission apparatus shown in FIG. 14 to perform the transmissionmethod in the embodiments of the present invention, thecontroller/processor 1103 in FIG. 16 implements, independently or incooperation with the memory 1003, a function implemented by theprocessing module 602 in FIG. 14, and the receiver 1102 is configured toimplement a function implemented by the receiving module 601 in FIG. 14.

The controller/processor configured to perform a function of theforegoing access device or terminal device in the present invention maybe a central processing unit (CPU), a general purpose processor, adigital signal processor (DSP), an application-specific integratedcircuit (ASIC), a field programmable gate array (FPGA) or anotherprogrammable logic device, a transistor logic device, a hardwarecomponent, or any combination thereof. The controller/processor mayimplement or execute various example logical blocks, modules, andcircuits described with reference to the content disclosed in thepresent invention. Alternatively, the processor may be a combinationimplementing a computing function, for example, a combination includingone or more microprocessors, or a combination of a DSP and amicroprocessor.

Method or algorithm steps described with reference to the contentdisclosed in the present invention may be implemented by hardware, ormay be implemented by the processor by executing a software instruction.The software instruction may include a corresponding software module.The software module may be stored in a RAM, a flash memory, a ROM, anEPROM, an EEPROM, a register, a hard disk, a removable hard disk, aCD-ROM, or a storage medium in any other forms well-known in the art. Anexample storage medium is coupled to the processor, so that theprocessor can read information from the storage medium and can writeinformation into the storage medium. Certainly, the storage medium maybe a component of the processor. The processor and the storage mediummay be located in an ASIC. In addition, the ASIC may be located in theterminal device. Certainly, the processor and the storage medium mayexist in the terminal device as discrete assemblies.

A person skilled in the art should be aware that in the foregoing one ormore examples, the functions described in the present invention may beimplemented by hardware, software, firmware, or any combination thereof.When the functions are implemented by software, the functions may bestored in a computer readable medium or transmitted as one or moreinstructions or code in the computer readable medium. The computerreadable medium includes a computer storage medium and a communicationsmedium. The communications medium includes any medium that enables acomputer program to be transmitted from one place to another place. Thestorage medium may be any available medium accessible to ageneral-purpose or dedicated computer.

The objectives, technical solutions, and beneficial effects of thepresent invention are further described in detail in the foregoingspecific implementations. It should be understood that the foregoingdescriptions are merely the specific implementations of the presentinvention, but are not intended to limit the protection scope of thepresent invention. Any modification, equivalent replacement,improvement, or the like made based on the technical solutions of thepresent invention shall fall within the protection scope of the presentinvention.

What is claimed is:
 1. A method for wireless communication, comprising:receiving data from an access device; and descrambling the data based ona sequence that is associated with at least one of a time domainresource index or an index of a beam.
 2. The method according to claim1, further comprising: obtaining the sequence according to an initiallocation and an initial value associated with a cell identifier, whereinthe initial location is associated with the time domain resource indexor the index of the beam.
 3. The method according to claim 2, whereinthe initial value is an initialized value of a shift register forgenerating the sequence.
 4. The method according to claim 1, furthercomprising: obtaining the sequence from a target sequence according toan initial location, wherein the initial location is associated with thetime domain resource index or the index of the beam.
 5. The methodaccording to claim 4, wherein the target sequence is associated with acell identifier and the time domain resource index.
 6. The methodaccording to claim 4, wherein the target sequence is a Gold sequence. 7.The method according to claim 4, wherein the sequence is c(n), andc(n)=c₁(n+x), wherein c₁(n) is the target sequence and x is the initiallocation.
 8. The method according to claim 1, wherein the index of thebeam comprises a first part being associated with the sequence, and asecond part being carried in a physical broadcast channel (PBCH).
 9. Themethod according to claim 8, further comprising: receiving a signal thatcomprises the second part of the index of the beam and a synchronizationsignal.
 10. The method according to claim 1, wherein time domainresource index comprises a first part being associated with thesequence, and a second part being carried in a physical broadcastchannel (PBCH).
 11. The method according to claim 10, furthercomprising: receiving a signal that comprises the second part of thetime domain resource index and a synchronization signal.
 12. The methodaccording to claim 1, wherein the receiving data from an access deviceis receiving the data in a PBCH from the access device.
 13. Acommunication apparatus, comprising: a receiver, configured to receivedata from an access device; and at least one processor, configured todescramble the data based on a sequence associated with at least one ofa time domain resource index or an index of a beam.
 14. The apparatus toclaim 13, wherein the processor is further configured to: obtain thesequence according to an initial location and an initial value, whereinthe initial location is associated with the time domain resource indexor the index of the beam, the initial value being associated with a cellidentifier.
 15. The apparatus according to claim 14, wherein the initialvalue is an initialized value of a shift register for generating thesequence.
 16. The apparatus according to claim 13, wherein the processoris further configured to: obtain the sequence from a target sequenceaccording to an initial location, wherein the initial location isassociated with the time domain resource index or the index of the beam.17. The apparatus according to claim 16, wherein the target sequence isassociated with a cell identifier and the time domain resource index.18. The apparatus according to claim 16, wherein the target sequence isa Gold sequence.
 19. The apparatus according to claim 16, wherein thesequence is c(n), c(n)=c₁(n+x), and wherein c₁(n) is the target sequenceand x is the initial location.
 20. The apparatus according to claim 13,wherein the index of the beam comprises a first part being associatedwith the sequence, and a second part being carried in a physicalbroadcast channel (PBCH).
 21. The apparatus according to claim 20,wherein the receiver is further configured to: receive a signal thatcomprises the second part of the index of the beam and a synchronizationsignal.
 22. The apparatus according to claim 13, wherein time domainresource index comprises a first part being associated with thesequence, and a second part being carried in a physical broadcastchannel (PBCH).
 23. The apparatus according to claim 22, wherein thereceiver is further configured to: receive a signal that comprises thesecond part of the time domain resource index and a synchronizationsignal.
 24. The apparatus according to claim 13, wherein the receiver isconfigured to receive the data in a PBCH from the access device.
 25. Anon-transitory computer readable medium, comprising computer programinstructions which when executed by one or more processors cause the oneor more processors to: receive data from an access device; anddescramble the data based on a sequence associated with at least one ofa time domain resource index or an index of a beam.
 26. Thenon-transitory computer readable medium according to claim 25, whereinthe one or more processors further: obtain the sequence according to aninitial location and an initial value, wherein the initial location isassociated with the time domain resource index or the index of the beam,the initial value being associated with a cell identifier.
 27. Thenon-transitory computer readable medium according to claim 25, whereinthe one or more processors further execute the step of: obtain thesequence from a target sequence according to an initial location,wherein the initial location is associated with the time domain resourceindex or the index of the beam.
 28. The non-transitory computer readablemedium according to claim 27, wherein the sequence is c(n),c(n)=c₁(n+x), and wherein c₁(n) is the target sequence and x is theinitial location.
 29. The non-transitory computer readable mediumaccording to claim 25, wherein the index of the beam comprises a firstpart being associated with the sequence, and a second part being carriedin a physical broadcast channel (PBCH).
 30. The non-transitory computerreadable medium according to claim 25, wherein time domain resourceindex comprises a first part being associated with the sequence, and asecond part being carried in a physical broadcast channel (PBCH).